Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04887/0.04887, allocations: 9.141 MB / 291.5 MB, free: 7.188 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.91 kB / 406.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2638, allocations: 50.71 MB / 457.3 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01943/0.2832, allocations: 17.48 MB / 474.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.3009, allocations: 16.95 MB / 491.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.301, allocations: 0 / 491.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008063/0.3018, allocations: 315.1 kB / 492 MB, free: 5.059 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01649/0.3183, allocations: 6.454 MB / 498.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.3198, allocations: 0.6143 MB / 499.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.3201, allocations: 199 kB / 499.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.3201, allocations: 9.109 kB / 499.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.3203, allocations: 91.64 kB / 499.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3204, allocations: 51.78 kB / 499.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.3204, allocations: 4 kB / 499.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01791/0.3383, allocations: 10.1 MB / 0.4976 GB, free: 3.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.3383, allocations: 11.92 kB / 0.4976 GB, free: 3.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3384, allocations: 59.67 kB / 0.4977 GB, free: 3.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.3491, allocations: 4.018 MB / 0.5016 GB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3491, allocations: 0 / 0.5016 GB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3491, allocations: 0 / 0.5016 GB, free: 15.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3491, allocations: 0 / 0.5016 GB, free: 15.4 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.002007/0.3511, allocations: 0.9238 MB / 0.5025 GB, free: 14.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3511, allocations: 16.03 kB / 0.5025 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.452e-05/0.3512, allocations: 4 kB / 0.5025 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.3512, allocations: 46.48 kB / 0.5026 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.3514, allocations: 27.89 kB / 0.5026 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.3516, allocations: 190.9 kB / 0.5028 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3516, allocations: 15.88 kB / 0.5028 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3516, allocations: 4 kB / 0.5028 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3518, allocations: 127.4 kB / 0.5029 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3518, allocations: 4 kB / 0.5029 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3518, allocations: 7.938 kB / 0.5029 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3519, allocations: 7.922 kB / 0.5029 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.352, allocations: 103.9 kB / 0.503 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007557/0.3528, allocations: 0.566 MB / 0.5036 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.353, allocations: 117.1 kB / 0.5037 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3531, allocations: 65.77 kB / 0.5038 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06121/0.4143, allocations: 33.17 MB / 0.5362 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.4144, allocations: 38.55 kB / 0.5362 GB, free: 6.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.995e-06/0.4144, allocations: 0 / 0.5362 GB, free: 6.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006668/0.415, allocations: 238 kB / 0.5364 GB, free: 5.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.4151, allocations: 77.11 kB / 0.5365 GB, free: 5.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4152, allocations: 121.8 kB / 0.5366 GB, free: 5.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4152, allocations: 29.69 kB / 0.5366 GB, free: 5.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.4153, allocations: 88.53 kB / 0.5367 GB, free: 5.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.4154, allocations: 83.27 kB / 0.5368 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.4154, allocations: 33.72 kB / 0.5368 GB, free: 5.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4156, allocations: 326.8 kB / 0.5372 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.4156, allocations: 43.98 kB / 0.5372 GB, free: 5.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.249e-05/0.4157, allocations: 69.62 kB / 0.5373 GB, free: 5.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.4159, allocations: 121.8 kB / 0.5374 GB, free: 4.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4159, allocations: 0 / 0.5374 GB, free: 4.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002467/0.4161, allocations: 169.5 kB / 0.5375 GB, free: 4.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4162, allocations: 5.406 kB / 0.5375 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4162, allocations: 4 kB / 0.5376 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4162, allocations: 0 / 0.5376 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.4163, allocations: 19.98 kB / 0.5376 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4163, allocations: 0 / 0.5376 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.4163, allocations: 19.88 kB / 0.5376 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4164, allocations: 8 kB / 0.5376 GB, free: 4.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.89e-05/0.4165, allocations: 125.7 kB / 0.5377 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.4165, allocations: 7.953 kB / 0.5377 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.417, allocations: 321.3 kB / 0.538 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002917/0.4173, allocations: 233.5 kB / 0.5383 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4173, allocations: 4 kB / 0.5383 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4173, allocations: 4 kB / 0.5383 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.4182, allocations: 0.7542 MB / 0.539 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4182, allocations: 0 / 0.539 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.4184, allocations: 43.92 kB / 0.539 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.4184, allocations: 4 kB / 0.539 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.4184, allocations: 0 / 0.539 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4184, allocations: 7.984 kB / 0.539 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4184, allocations: 4 kB / 0.5391 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.419, allocations: 0.53 MB / 0.5396 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.4191, allocations: 96.89 kB / 0.5397 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.4191, allocations: 8 kB / 0.5397 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.4192, allocations: 4 kB / 0.5397 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.4192, allocations: 11.98 kB / 0.5397 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4192, allocations: 11.98 kB / 0.5397 GB, free: 2.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.955e-05/0.4193, allocations: 95.34 kB / 0.5398 GB, free: 2.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4193, allocations: 0 / 0.5398 GB, free: 2.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002397/0.4217, allocations: 0.9465 MB / 0.5407 GB, free: 1.406 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004353/0.4261, allocations: 2.409 MB / 0.5431 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.4264, allocations: 239.8 kB / 0.5433 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4265, allocations: 4 kB / 0.5433 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.4266, allocations: 107.8 kB / 0.5434 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.4275, allocations: 148.9 kB / 0.5435 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.4306, allocations: 2.446 MB / 0.5459 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.4309, allocations: 0.7289 MB / 0.5466 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.4311, allocations: 49.94 kB / 0.5467 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.4312, allocations: 63.41 kB / 0.5468 GB, free: 11.06 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4312, allocations: 0 / 0.5468 GB, free: 11.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06535/0.4965, allocations: 30.74 MB / 0.5768 GB, free: 12.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.335, allocations: 0 / 0.5768 GB, free: 12.32 MB / 462.1 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.723026307998225] Failed to read output from testmodel.py, exit status != 0: 9.486653742031194 9.5011341 9.149078864 Calling exit ...