Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.0014/0.0014, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.0015/0.0015, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.457/1.457, allocations: 207.6 MB / 230.5 MB, free: 4 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.04934/0.04934, allocations: 9.15 MB / 291.5 MB, free: 7.172 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.MediaTestModels.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",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.001984/0.001984, allocations: 79.89 kB / 406.6 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2778, allocations: 50.71 MB / 457.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.1441/0.4219, allocations: 128.6 MB / 0.5722 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3823/0.8042, allocations: 110.3 MB / 0.6799 GB, free: 8 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007615/0.8049, allocations: 9.844 kB / 0.6799 GB, free: 8 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.8081, allocations: 1.464 MB / 0.6813 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.8118, allocations: 1.72 MB / 0.683 GB, free: 15.94 MB / 494.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.typeClassSections: time 0.0791/0.8909, allocations: 30.48 MB / 0.7128 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.8928, allocations: 1.33 MB / 0.7141 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.893, allocations: 91.55 kB / 0.7142 GB, free: 2.316 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:620:5-620:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01461/0.9077, allocations: 8.823 MB / 0.7228 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.9082, allocations: 383.7 kB / 0.7231 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.138e-05/0.9082, allocations: 44 kB / 0.7232 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06341/0.9716, allocations: 34.13 MB / 0.7565 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.9719, allocations: 125.7 kB / 0.7566 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.9725, allocations: 302.2 kB / 0.7569 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0466/1.019, allocations: 14.17 MB / 0.7708 GB, free: 11.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.019, allocations: 0 / 0.7708 GB, free: 11.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/1.019, allocations: 0 / 0.7708 GB, free: 11.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.652e-05/1.019, allocations: 0 / 0.7708 GB, free: 11.51 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00707/1.026, allocations: 2.676 MB / 0.7734 GB, free: 8.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.026, allocations: 12.03 kB / 0.7734 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.992e-05/1.026, allocations: 8.656 kB / 0.7734 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.782e-05/1.026, allocations: 94.02 kB / 0.7735 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006143/1.027, allocations: 87.62 kB / 0.7736 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/1.028, allocations: 346 kB / 0.7739 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/1.028, allocations: 32.66 kB / 0.7739 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/1.028, allocations: 32 kB / 0.774 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.029, allocations: 0.5971 MB / 0.7745 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/1.029, allocations: 0 / 0.7745 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/1.029, allocations: 16.88 kB / 0.7746 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/1.029, allocations: 26.39 kB / 0.7746 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/1.03, allocations: 0.5454 MB / 0.7751 GB, free: 6.941 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/1.033, allocations: 2.501 MB / 0.7776 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/1.034, allocations: 471.8 kB / 0.778 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/1.035, allocations: 302.3 kB / 0.7783 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4527/1.488, allocations: 139 MB / 0.914 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/1.488, allocations: 34.22 kB / 0.9141 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 2.124e-06/1.488, allocations: 0 / 0.9141 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005177/1.493, allocations: 2.345 MB / 0.9164 GB, free: 203.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/1.493, allocations: 59.39 kB / 0.9164 GB, free: 203.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/1.493, allocations: 256.7 kB / 0.9167 GB, free: 203.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/1.493, allocations: 33.7 kB / 0.9167 GB, free: 203.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/1.493, allocations: 192.1 kB / 0.9169 GB, free: 203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/1.493, allocations: 274.8 kB / 0.9171 GB, free: 202.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.493, allocations: 108.4 kB / 0.9172 GB, free: 202.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/1.493, allocations: 346.8 kB / 0.9176 GB, free: 202.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/1.494, allocations: 279.4 kB / 0.9178 GB, free: 202.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/1.494, allocations: 402 kB / 0.9182 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008962/1.495, allocations: 0.7168 MB / 0.9189 GB, free: 200.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.495, allocations: 4 kB / 0.9189 GB, free: 200.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001212/1.496, allocations: 0.7883 MB / 0.9197 GB, free: 200.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.496, allocations: 8 kB / 0.9197 GB, free: 200.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.496, allocations: 4 kB / 0.9197 GB, free: 200.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/1.497, allocations: 73.17 kB / 0.9198 GB, free: 200 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/1.497, allocations: 131.7 kB / 0.9199 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06311/1.56, allocations: 19.88 MB / 0.9393 GB, free: 179.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/1.561, allocations: 31.97 kB / 0.9393 GB, free: 179.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/1.561, allocations: 16 kB / 0.9394 GB, free: 179.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002337/1.561, allocations: 190.7 kB / 0.9395 GB, free: 179.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/1.561, allocations: 51.72 kB / 0.9396 GB, free: 179.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/1.563, allocations: 1.576 MB / 0.9411 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.563, allocations: 9.953 kB / 0.9411 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.563, allocations: 0 / 0.9411 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/1.564, allocations: 1.172 MB / 0.9423 GB, free: 176.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/1.566, allocations: 1.635 MB / 0.9439 GB, free: 174.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.566, allocations: 3.984 kB / 0.9439 GB, free: 174.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/1.566, allocations: 75.89 kB / 0.944 GB, free: 174.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/1.566, allocations: 109.6 kB / 0.9441 GB, free: 174.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/1.566, allocations: 8 kB / 0.9441 GB, free: 174.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008693/1.567, allocations: 1.989 MB / 0.946 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.567, allocations: 8.188 kB / 0.946 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/1.569, allocations: 1.25 MB / 0.9472 GB, free: 170.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/1.569, allocations: 115.5 kB / 0.9474 GB, free: 170.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/1.569, allocations: 11.95 kB / 0.9474 GB, free: 170.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/1.569, allocations: 32.03 kB / 0.9474 GB, free: 170.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/1.569, allocations: 43.88 kB / 0.9474 GB, free: 170.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/1.569, allocations: 16 kB / 0.9475 GB, free: 170.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001759/1.569, allocations: 239 kB / 0.9477 GB, free: 170.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.569, allocations: 0 / 0.9477 GB, free: 170.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00833/1.578, allocations: 3.576 MB / 0.9512 GB, free: 167.3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01643/1.594, allocations: 6.265 MB / 0.9573 GB, free: 161.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00183/1.596, allocations: 0.9671 MB / 0.9582 GB, free: 160.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.596, allocations: 0 / 0.9582 GB, free: 160.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006999/1.597, allocations: 471.3 kB / 0.9587 GB, free: 160 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/1.598, allocations: 394.4 kB / 0.9591 GB, free: 159.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.609, allocations: 6.364 MB / 0.9653 GB, free: 153.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/1.609, allocations: 0.8524 MB / 0.9661 GB, free: 152.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003859/1.61, allocations: 151.6 kB / 0.9663 GB, free: 152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/1.61, allocations: 171.4 kB / 0.9664 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.182e-06/1.61, allocations: 0 / 0.9664 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1718/1.782, allocations: 132.7 MB / 1.096 GB, free: 19.03 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/19.28, allocations: 12 kB / 1.096 GB, free: 19.02 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.8707351119956] Failed to read output from testmodel.py, exit status != 0: 19.529226396989543 19.538342089 18.517019521 Calling exit ...