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.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.001364/0.001364, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001614/0.001614, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.426/1.426, allocations: 207.6 MB / 233 MB, free: 10 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.05492/0.05492, allocations: 9.157 MB / 294.4 MB, free: 12.7 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.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.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.002441/0.002441, allocations: 68.91 kB / 411.1 MB, free: 46.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07673/0.07917, allocations: 50.74 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3487/0.4279, allocations: 130.3 MB / 0.5783 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1281/0.5559, allocations: 111.5 MB / 0.6871 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006709/0.5566, allocations: 11.94 kB / 0.6872 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003535/0.5601, allocations: 1.559 MB / 0.6887 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004153/0.5643, allocations: 1.825 MB / 0.6905 GB, free: 3.047 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.07921/0.6435, allocations: 31.37 MB / 0.7211 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.6457, allocations: 1.421 MB / 0.7225 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.646, allocations: 89.91 kB / 0.7226 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01815/0.6642, allocations: 9.358 MB / 0.7317 GB, free: 8.676 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008449/0.665, allocations: 394.4 kB / 0.7321 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.6651, allocations: 48 kB / 0.7321 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3037/0.9688, allocations: 36.36 MB / 0.7676 GB, free: 46.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.9691, allocations: 125.6 kB / 0.7678 GB, free: 46.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.9695, allocations: 302.8 kB / 0.768 GB, free: 46.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0363/1.006, allocations: 14.13 MB / 0.7819 GB, free: 45.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/1.006, allocations: 0 / 0.7819 GB, free: 45.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.714e-06/1.006, allocations: 0 / 0.7819 GB, free: 45.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.199e-05/1.006, allocations: 0 / 0.7819 GB, free: 45.95 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.006129/1.012, allocations: 2.607 MB / 0.7844 GB, free: 44.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.012, allocations: 13.08 kB / 0.7844 GB, free: 44.53 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/1.012, allocations: 84.91 kB / 0.7845 GB, free: 44.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006409/1.013, allocations: 90.31 kB / 0.7846 GB, free: 44.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/1.013, allocations: 286.7 kB / 0.7849 GB, free: 44.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/1.013, allocations: 27.28 kB / 0.7849 GB, free: 44.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/1.013, allocations: 33.12 kB / 0.7849 GB, free: 44.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.014, allocations: 0.6141 MB / 0.7855 GB, free: 44.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/1.014, allocations: 0 / 0.7855 GB, free: 44.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/1.014, allocations: 15.38 kB / 0.7855 GB, free: 44.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/1.014, allocations: 16.53 kB / 0.7855 GB, free: 44.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/1.016, allocations: 0.5578 MB / 0.7861 GB, free: 44.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/1.018, allocations: 2.53 MB / 0.7886 GB, free: 42.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/1.019, allocations: 495.9 kB / 0.789 GB, free: 42.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/1.019, allocations: 310.1 kB / 0.7893 GB, free: 42.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1997/1.219, allocations: 43.91 MB / 0.8322 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/1.219, allocations: 34.84 kB / 0.8322 GB, free: 15.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 3.586e-06/1.219, allocations: 0 / 0.8322 GB, free: 15.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.005691/1.225, allocations: 2.241 MB / 0.8344 GB, free: 13.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/1.225, allocations: 58.59 kB / 0.8345 GB, free: 13.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/1.225, allocations: 251.6 kB / 0.8347 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/1.225, allocations: 33.64 kB / 0.8348 GB, free: 13.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/1.225, allocations: 188.1 kB / 0.8349 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/1.225, allocations: 277.4 kB / 0.8352 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/1.226, allocations: 99.94 kB / 0.8353 GB, free: 13.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/1.226, allocations: 358.2 kB / 0.8356 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/1.226, allocations: 276 kB / 0.8359 GB, free: 12.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/1.226, allocations: 408.8 kB / 0.8363 GB, free: 12.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009349/1.227, allocations: 0.723 MB / 0.837 GB, free: 11.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.227, allocations: 4 kB / 0.837 GB, free: 11.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001293/1.229, allocations: 0.8059 MB / 0.8378 GB, free: 11.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.229, allocations: 7.594 kB / 0.8378 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.229, allocations: 4 kB / 0.8378 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/1.229, allocations: 68.02 kB / 0.8379 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/1.229, allocations: 99.47 kB / 0.838 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06692/1.296, allocations: 17.08 MB / 0.8546 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/1.297, allocations: 37.3 kB / 0.8547 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/1.297, allocations: 19.36 kB / 0.8547 GB, free: 10.55 MB / 0.5606 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.0003014/1.297, allocations: 193.4 kB / 0.8549 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/1.297, allocations: 43.72 kB / 0.8549 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/1.299, allocations: 1.585 MB / 0.8565 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/1.299, allocations: 13.92 kB / 0.8565 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.299, allocations: 0 / 0.8565 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00155/1.301, allocations: 1.175 MB / 0.8576 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/1.304, allocations: 1.604 MB / 0.8592 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.304, allocations: 2.906 kB / 0.8592 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/1.304, allocations: 82.94 kB / 0.8593 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002223/1.304, allocations: 44.77 kB / 0.8593 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/1.304, allocations: 11.75 kB / 0.8593 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/1.305, allocations: 1.309 MB / 0.8606 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.305, allocations: 4.031 kB / 0.8606 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/1.308, allocations: 1.217 MB / 0.8618 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/1.308, allocations: 36.94 kB / 0.8618 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.308, allocations: 13.91 kB / 0.8618 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/1.308, allocations: 21.23 kB / 0.8619 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/1.308, allocations: 55.62 kB / 0.8619 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/1.308, allocations: 14.62 kB / 0.8619 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000388/1.309, allocations: 247.7 kB / 0.8622 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.309, allocations: 0.7656 kB / 0.8622 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01038/1.319, allocations: 3.579 MB / 0.8657 GB, free: 0.9492 MB / 0.5606 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.02225/1.341, allocations: 6.234 MB / 0.8717 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002109/1.344, allocations: 0.9324 MB / 0.8727 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.344, allocations: 0 / 0.8727 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009092/1.344, allocations: 475.1 kB / 0.8731 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/1.346, allocations: 386 kB / 0.8735 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/1.361, allocations: 6.4 MB / 0.8797 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/1.362, allocations: 0.8494 MB / 0.8806 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004917/1.362, allocations: 170.3 kB / 0.8807 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/1.363, allocations: 170.8 kB / 0.8809 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/1.363, allocations: 0 / 0.8809 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4636/1.826, allocations: 133.2 MB / 1.011 GB, free: 241.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/19.8, allocations: 7.969 kB / 1.011 GB, free: 241.5 MB / 0.67 GB " [Timeout remaining time 640] (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: 28.21916514215991] Failed to read output from testmodel.py, exit status != 0: 20.001824850915 20.019692665 19.010182274 Calling exit ...