Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.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.001318/0.001318, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001312/0.001312, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.424/1.424, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.05044/0.05044, allocations: 9.152 MB / 290.8 MB, free: 13.99 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.R134a_ASHRAE_TestModel_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph",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.003117/0.003117, allocations: 67.28 kB / 405.9 MB, free: 47.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09882, allocations: 50.72 MB / 456.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3163/0.4151, allocations: 130 MB / 0.5729 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1493/0.5644, allocations: 111.4 MB / 0.6816 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005791/0.565, allocations: 11.94 kB / 0.6816 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.5697, allocations: 1.551 MB / 0.6832 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006056/0.5758, allocations: 1.825 MB / 0.6849 GB, free: 5.012 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.07579/0.6516, allocations: 31.17 MB / 0.7154 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002146/0.6537, allocations: 1.398 MB / 0.7167 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.654, allocations: 89.72 kB / 0.7168 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0152/0.6692, allocations: 9.146 MB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005544/0.6697, allocations: 402.4 kB / 0.7261 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.6698, allocations: 40 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2983/0.968, allocations: 35.43 MB / 0.7608 GB, free: 48.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.9682, allocations: 121.8 kB / 0.7609 GB, free: 48.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.9687, allocations: 307.1 kB / 0.7612 GB, free: 48.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.034/1.003, allocations: 14.1 MB / 0.7749 GB, free: 47.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.003, allocations: 0 / 0.7749 GB, free: 47.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.774e-06/1.003, allocations: 0 / 0.7749 GB, free: 47.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.781e-05/1.003, allocations: 3 kB / 0.7749 GB, free: 47.86 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.005498/1.008, allocations: 2.674 MB / 0.7776 GB, free: 46.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/1.008, allocations: 13.62 kB / 0.7776 GB, free: 46.34 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.816e-05/1.008, allocations: 92.36 kB / 0.7777 GB, free: 46.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005814/1.009, allocations: 88.94 kB / 0.7777 GB, free: 46.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/1.009, allocations: 338.3 kB / 0.7781 GB, free: 46.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/1.009, allocations: 27.59 kB / 0.7781 GB, free: 46.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/1.009, allocations: 34.03 kB / 0.7781 GB, free: 46.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/1.01, allocations: 0.6041 MB / 0.7787 GB, free: 45.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/1.01, allocations: 2.344 kB / 0.7787 GB, free: 45.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/1.011, allocations: 11.31 kB / 0.7787 GB, free: 45.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/1.011, allocations: 24.64 kB / 0.7788 GB, free: 45.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/1.012, allocations: 0.5461 MB / 0.7793 GB, free: 45.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/1.013, allocations: 2.549 MB / 0.7818 GB, free: 44.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000975/1.014, allocations: 480.4 kB / 0.7822 GB, free: 44.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/1.015, allocations: 303.8 kB / 0.7825 GB, free: 44.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2469/1.262, allocations: 139 MB / 0.9182 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.262, allocations: 38.59 kB / 0.9183 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=79): time 2.935e-06/1.262, allocations: 0 / 0.9183 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83): time 0.00591/1.268, allocations: 2.338 MB / 0.9206 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/1.268, allocations: 55.41 kB / 0.9206 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/1.268, allocations: 251.8 kB / 0.9209 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/1.268, allocations: 33.45 kB / 0.9209 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/1.268, allocations: 194.6 kB / 0.9211 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/1.268, allocations: 276.2 kB / 0.9213 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/1.269, allocations: 100.4 kB / 0.9214 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.269, allocations: 354.3 kB / 0.9218 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/1.269, allocations: 271.3 kB / 0.922 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/1.27, allocations: 403.6 kB / 0.9224 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.271, allocations: 0.6997 MB / 0.9231 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.271, allocations: 0 / 0.9231 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001459/1.272, allocations: 0.7835 MB / 0.9239 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.272, allocations: 15.98 kB / 0.9239 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.272, allocations: 4 kB / 0.9239 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/1.273, allocations: 57.25 kB / 0.9239 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/1.273, allocations: 99.31 kB / 0.924 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07137/1.344, allocations: 17.29 MB / 0.9409 GB, free: 6.719 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/1.345, allocations: 31.72 kB / 0.9409 GB, free: 6.695 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/1.345, allocations: 15.81 kB / 0.941 GB, free: 6.684 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * 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 prepare postOptimizeDAE: time 0.0003517/1.345, allocations: 191.5 kB / 0.9411 GB, free: 6.531 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/1.345, allocations: 39.77 kB / 0.9412 GB, free: 6.492 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/1.347, allocations: 1.548 MB / 0.9427 GB, free: 5.402 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/1.347, allocations: 7.938 kB / 0.9427 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.347, allocations: 7.938 kB / 0.9427 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/1.349, allocations: 1.138 MB / 0.9438 GB, free: 4.438 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/1.351, allocations: 1.586 MB / 0.9454 GB, free: 3.285 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.351, allocations: 0 / 0.9454 GB, free: 3.285 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/1.352, allocations: 88 kB / 0.9455 GB, free: 3.207 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/1.352, allocations: 44.73 kB / 0.9455 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/1.352, allocations: 7.75 kB / 0.9455 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/1.353, allocations: 1.43 MB / 0.9469 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.353, allocations: 0 / 0.9469 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.355, allocations: 1.185 MB / 0.9481 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/1.355, allocations: 116.8 kB / 0.9482 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/1.355, allocations: 11.75 kB / 0.9482 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/1.355, allocations: 25.27 kB / 0.9482 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.355, allocations: 46.95 kB / 0.9482 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/1.355, allocations: 14.05 kB / 0.9483 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002667/1.356, allocations: 247.6 kB / 0.9485 GB, free: 460 kB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.356, allocations: 0 / 0.9485 GB, free: 460 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.00903/1.365, allocations: 3.578 MB / 0.952 GB, free: 12.98 MB / 0.6856 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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01982/1.385, allocations: 6.225 MB / 0.9581 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002103/1.387, allocations: 0.8965 MB / 0.9589 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.387, allocations: 8.703 kB / 0.959 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008844/1.388, allocations: 469.4 kB / 0.9594 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/1.389, allocations: 379.5 kB / 0.9598 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/1.404, allocations: 6.323 MB / 0.9659 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/1.405, allocations: 0.8526 MB / 0.9668 GB, free: 120 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.1902/1.595, allocations: 157.8 kB / 0.9669 GB, free: 345.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/1.595, allocations: 171.5 kB / 0.9671 GB, free: 345.3 MB / 0.6856 GB Notification: Performance of SimCode: time 1.072e-06/1.595, allocations: 0.6562 kB / 0.9671 GB, free: 345.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1768/1.772, allocations: 132.6 MB / 1.097 GB, free: 241.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.82, allocations: 3.938 kB / 1.097 GB, free: 241.9 MB / 0.6856 GB " [Timeout remaining time 641] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.713555299676955] Failed to read output from testmodel.py, exit status != 0: 19.0014491439797 19.015942861 18.010105969 Calling exit ...