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.001637/0.001637, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001501/0.001501, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.332/1.332, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.05104/0.05104, allocations: 9.145 MB / 295.3 MB, free: 12.61 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134a_ASHRAE_TestModel_ph",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.002067/0.002067, allocations: 67.88 kB / 411.9 MB, free: 46.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07818/0.08025, allocations: 50.76 MB / 462.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3459/0.4261, allocations: 115.8 MB / 0.5649 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1074/0.5335, allocations: 98.64 MB / 0.6612 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006898/0.5342, allocations: 7.938 kB / 0.6612 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00323/0.5374, allocations: 1.228 MB / 0.6624 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.5416, allocations: 1.569 MB / 0.6639 GB, free: 11.41 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.07786/0.6194, allocations: 31.26 MB / 0.6944 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.6216, allocations: 1.425 MB / 0.6958 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.6218, allocations: 81.92 kB / 0.6959 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01756/0.6393, allocations: 9.235 MB / 0.7049 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006241/0.64, allocations: 394.4 kB / 0.7053 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.34e-05/0.64, allocations: 44 kB / 0.7054 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05086/0.6909, allocations: 25.21 MB / 0.73 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.6912, allocations: 115.6 kB / 0.7301 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.6917, allocations: 263 kB / 0.7303 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3299/1.022, allocations: 12.3 MB / 0.7423 GB, free: 65.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/1.022, allocations: 1.031 kB / 0.7423 GB, free: 65.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.325e-06/1.022, allocations: 0 / 0.7423 GB, free: 65.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.022, allocations: 0 / 0.7423 GB, free: 65.49 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.009003/1.031, allocations: 2.592 MB / 0.7449 GB, free: 64.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/1.031, allocations: 13.89 kB / 0.7449 GB, free: 64.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.972e-05/1.031, allocations: 10.97 kB / 0.7449 GB, free: 64.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.978e-05/1.031, allocations: 86.05 kB / 0.745 GB, free: 64.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006417/1.031, allocations: 95.53 kB / 0.7451 GB, free: 64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/1.032, allocations: 285.3 kB / 0.7453 GB, free: 63.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/1.032, allocations: 32.22 kB / 0.7454 GB, free: 63.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/1.032, allocations: 32 kB / 0.7454 GB, free: 63.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.033, allocations: 0.7594 MB / 0.7461 GB, free: 63.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/1.033, allocations: 1.219 kB / 0.7461 GB, free: 63.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/1.033, allocations: 14.41 kB / 0.7462 GB, free: 63.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/1.033, allocations: 21.58 kB / 0.7462 GB, free: 63.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/1.035, allocations: 0.5571 MB / 0.7467 GB, free: 63.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/1.037, allocations: 1.709 MB / 0.7484 GB, free: 62.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/1.038, allocations: 492 kB / 0.7489 GB, free: 62.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004642/1.039, allocations: 315.2 kB / 0.7492 GB, free: 62.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1914/1.23, allocations: 44.03 MB / 0.7922 GB, free: 61.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/1.23, allocations: 38.12 kB / 0.7922 GB, free: 61.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 2.826e-06/1.23, allocations: 0 / 0.7922 GB, free: 61.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.005406/1.235, allocations: 2.236 MB / 0.7944 GB, free: 61.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.235, allocations: 59.14 kB / 0.7944 GB, free: 61.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/1.236, allocations: 252.2 kB / 0.7947 GB, free: 61.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/1.236, allocations: 31.58 kB / 0.7947 GB, free: 61.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/1.236, allocations: 191.7 kB / 0.7949 GB, free: 60.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/1.236, allocations: 276.5 kB / 0.7952 GB, free: 60.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.236, allocations: 102.6 kB / 0.7953 GB, free: 60.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/1.236, allocations: 356.2 kB / 0.7956 GB, free: 60.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/1.237, allocations: 278.6 kB / 0.7959 GB, free: 60.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/1.237, allocations: 411.9 kB / 0.7963 GB, free: 59.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008845/1.238, allocations: 0.7244 MB / 0.797 GB, free: 59.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.238, allocations: 0 / 0.797 GB, free: 59.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001221/1.239, allocations: 0.8106 MB / 0.7978 GB, free: 58.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.239, allocations: 4 kB / 0.7978 GB, free: 58.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.239, allocations: 7.375 kB / 0.7978 GB, free: 58.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/1.239, allocations: 61.62 kB / 0.7978 GB, free: 58.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/1.24, allocations: 95.47 kB / 0.7979 GB, free: 58.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06505/1.305, allocations: 17.08 MB / 0.8146 GB, free: 42.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/1.305, allocations: 30.84 kB / 0.8146 GB, free: 42.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/1.305, allocations: 19.44 kB / 0.8146 GB, free: 42.12 MB / 0.545 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.0002448/1.306, allocations: 190.6 kB / 0.8148 GB, free: 41.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/1.306, allocations: 51.72 kB / 0.8149 GB, free: 41.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/1.307, allocations: 1.577 MB / 0.8164 GB, free: 40.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/1.307, allocations: 12.09 kB / 0.8164 GB, free: 40.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/1.307, allocations: 0 / 0.8164 GB, free: 40.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/1.308, allocations: 1.168 MB / 0.8176 GB, free: 39.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/1.31, allocations: 1.558 MB / 0.8191 GB, free: 38.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.31, allocations: 0 / 0.8191 GB, free: 38.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/1.311, allocations: 90.17 kB / 0.8192 GB, free: 38.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/1.311, allocations: 43.2 kB / 0.8192 GB, free: 38.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/1.311, allocations: 11.75 kB / 0.8192 GB, free: 38.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008441/1.312, allocations: 1.314 MB / 0.8205 GB, free: 37.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.312, allocations: 1.562 kB / 0.8205 GB, free: 37.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/1.313, allocations: 1.209 MB / 0.8217 GB, free: 36.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/1.313, allocations: 39.62 kB / 0.8217 GB, free: 36.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/1.313, allocations: 7.125 kB / 0.8217 GB, free: 36.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/1.314, allocations: 35.34 kB / 0.8218 GB, free: 36.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/1.314, allocations: 51.73 kB / 0.8218 GB, free: 36.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/1.314, allocations: 15.92 kB / 0.8218 GB, free: 36.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001886/1.314, allocations: 236.7 kB / 0.8221 GB, free: 36.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/1.314, allocations: 0 / 0.8221 GB, free: 36.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01105/1.325, allocations: 3.579 MB / 0.8256 GB, free: 32.57 MB / 0.545 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.02067/1.346, allocations: 6.244 MB / 0.8317 GB, free: 27.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.347, allocations: 0.9307 MB / 0.8326 GB, free: 26.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.347, allocations: 192 / 0.8326 GB, free: 26.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/1.348, allocations: 484.7 kB / 0.833 GB, free: 26.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/1.35, allocations: 382.7 kB / 0.8334 GB, free: 25.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.363, allocations: 6.391 MB / 0.8396 GB, free: 20.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/1.363, allocations: 251.6 kB / 0.8399 GB, free: 20.19 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004285/1.364, allocations: 173.8 kB / 0.84 GB, free: 20.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/1.364, allocations: 165.8 kB / 0.8402 GB, free: 19.97 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/1.364, allocations: 0 / 0.8402 GB, free: 19.97 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4484/1.812, allocations: 134.3 MB / 0.9714 GB, free: 318.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.63/19.44, allocations: 2.875 kB / 0.9714 GB, free: 318.1 MB / 0.6544 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: 29.594696281012148] Failed to read output from testmodel.py, exit status != 0: 19.68963159096893 19.703311172 18.678996594 Calling exit ...