Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 107.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.581/1.581, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.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.05267/0.05267, allocations: 9.152 MB / 290.8 MB, free: 13.94 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 75.3 kB / 405.9 MB, free: 47.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.1, allocations: 50.72 MB / 456.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.4412/0.5412, allocations: 129.2 MB / 0.5721 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1157/0.6569, allocations: 111.3 MB / 0.6808 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006687/0.6576, allocations: 8 kB / 0.6808 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003647/0.6612, allocations: 1.555 MB / 0.6823 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.6656, allocations: 1.829 MB / 0.6841 GB, free: 5.91 MB / 0.4981 GB [/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.08219/0.7478, allocations: 31.3 MB / 0.7147 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003071/0.7508, allocations: 1.406 MB / 0.7161 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.7511, allocations: 81.73 kB / 0.7161 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02026/0.7714, allocations: 9.939 MB / 0.7258 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.772, allocations: 396.4 kB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.7721, allocations: 43.94 kB / 0.7263 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3953/1.167, allocations: 35.72 MB / 0.7611 GB, free: 48.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/1.168, allocations: 119.8 kB / 0.7613 GB, free: 48.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005503/1.168, allocations: 306.8 kB / 0.7616 GB, free: 48.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04826/1.216, allocations: 14.13 MB / 0.7754 GB, free: 48.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.216, allocations: 0 / 0.7754 GB, free: 48.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/1.216, allocations: 2.219 kB / 0.7754 GB, free: 48.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.216, allocations: 0 / 0.7754 GB, free: 48.4 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.008111/1.225, allocations: 2.674 MB / 0.778 GB, free: 46.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/1.225, allocations: 9.844 kB / 0.778 GB, free: 46.89 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.422e-05/1.225, allocations: 88.2 kB / 0.7781 GB, free: 46.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/1.225, allocations: 91.42 kB / 0.7781 GB, free: 46.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/1.226, allocations: 344.8 kB / 0.7785 GB, free: 46.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/1.226, allocations: 25.72 kB / 0.7785 GB, free: 46.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/1.226, allocations: 34.97 kB / 0.7785 GB, free: 46.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.227, allocations: 0.6021 MB / 0.7791 GB, free: 46.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.227, allocations: 0 / 0.7791 GB, free: 46.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/1.227, allocations: 15.94 kB / 0.7791 GB, free: 46.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/1.227, allocations: 14.14 kB / 0.7792 GB, free: 46.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/1.228, allocations: 0.5574 MB / 0.7797 GB, free: 46.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/1.231, allocations: 2.511 MB / 0.7821 GB, free: 44.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009268/1.232, allocations: 466.8 kB / 0.7826 GB, free: 44.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/1.232, allocations: 305.4 kB / 0.7829 GB, free: 44.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2543/1.487, allocations: 139 MB / 0.9186 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/1.487, allocations: 44.78 kB / 0.9186 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 3.386e-06/1.487, allocations: 0 / 0.9186 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.006441/1.493, allocations: 2.336 MB / 0.9209 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/1.493, allocations: 55.41 kB / 0.921 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/1.494, allocations: 262.2 kB / 0.9212 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/1.494, allocations: 32.23 kB / 0.9213 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/1.494, allocations: 192.5 kB / 0.9214 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/1.494, allocations: 282 kB / 0.9217 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/1.494, allocations: 97.05 kB / 0.9218 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.494, allocations: 355.5 kB / 0.9221 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/1.495, allocations: 270.8 kB / 0.9224 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/1.496, allocations: 384.2 kB / 0.9228 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.497, allocations: 0.681 MB / 0.9234 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.497, allocations: 0 / 0.9234 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001515/1.498, allocations: 0.7989 MB / 0.9242 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.498, allocations: 4 kB / 0.9242 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.498, allocations: 5.203 kB / 0.9242 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/1.499, allocations: 61 kB / 0.9243 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/1.499, allocations: 126.2 kB / 0.9244 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0729/1.572, allocations: 19.43 MB / 0.9434 GB, free: 4.781 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/1.573, allocations: 31.78 kB / 0.9434 GB, free: 4.758 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/1.573, allocations: 16.88 kB / 0.9434 GB, free: 4.742 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0003049/1.573, allocations: 194.9 kB / 0.9436 GB, free: 4.59 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.573, allocations: 43.72 kB / 0.9437 GB, free: 4.547 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/1.575, allocations: 1.661 MB / 0.9453 GB, free: 3.387 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/1.575, allocations: 15.14 kB / 0.9453 GB, free: 3.379 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/1.575, allocations: 0 / 0.9453 GB, free: 3.379 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001556/1.577, allocations: 1.248 MB / 0.9465 GB, free: 2.352 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/1.579, allocations: 1.701 MB / 0.9482 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.579, allocations: 0 / 0.9482 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/1.579, allocations: 77.61 kB / 0.9482 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002888/1.58, allocations: 106.3 kB / 0.9483 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/1.58, allocations: 11.5 kB / 0.9484 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/1.581, allocations: 1.999 MB / 0.9503 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.581, allocations: 0 / 0.9503 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/1.583, allocations: 1.295 MB / 0.9516 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/1.583, allocations: 120.8 kB / 0.9517 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/1.583, allocations: 13.12 kB / 0.9517 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/1.584, allocations: 28.72 kB / 0.9517 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.584, allocations: 46.38 kB / 0.9518 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/1.584, allocations: 14.61 kB / 0.9518 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003104/1.584, allocations: 222.8 kB / 0.952 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.584, allocations: 0 / 0.952 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01113/1.595, allocations: 3.57 MB / 0.9555 GB, free: 10.17 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.02314/1.618, allocations: 6.289 MB / 0.9616 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002346/1.621, allocations: 0.9833 MB / 0.9626 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.621, allocations: 4 kB / 0.9626 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007815/1.622, allocations: 474 kB / 0.963 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/1.623, allocations: 398 kB / 0.9634 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.25/1.873, allocations: 6.24 MB / 0.9695 GB, free: 344.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/1.874, allocations: 0.85 MB / 0.9703 GB, free: 343.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000592/1.874, allocations: 144.1 kB / 0.9705 GB, free: 343.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/1.875, allocations: 173.1 kB / 0.9707 GB, free: 343.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/1.875, allocations: 0 / 0.9707 GB, free: 343.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2041/2.079, allocations: 133 MB / 1.1 GB, free: 239.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/19.89, allocations: 7.969 kB / 1.1 GB, free: 239.2 MB / 0.6856 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.010210300795734] Failed to read output from testmodel.py, exit status != 0: 20.07416837196797 20.088382425 18.868792819 Calling exit ...