Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.001431/0.001431, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001573/0.001573, allocations: 218.5 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01297/0.01297, allocations: 2.79 MB / 315.2 MB, free: 328 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 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.002171/0.002171, allocations: 71.89 kB / 439.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09702, allocations: 54.17 MB / 493.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.2508/0.3478, allocations: 51.31 MB / 0.5319 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0284/0.3762, allocations: 29.2 MB / 0.5604 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.3768, allocations: 2.688 kB / 0.5604 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.3784, allocations: 0.6211 MB / 0.561 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006089/0.3844, allocations: 2.253 MB / 0.5632 GB, free: 2.441 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009443/0.3939, allocations: 2.925 MB / 0.5661 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.3952, allocations: 0.9409 MB / 0.567 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.3953, allocations: 29.95 kB / 0.567 GB, free: 15.43 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.542/0.9373, allocations: 51.35 MB / 0.6172 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007162/0.9381, allocations: 294.7 kB / 0.6175 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.719e-05/0.9381, allocations: 40 kB / 0.6175 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2345/1.173, allocations: 27.08 MB / 0.644 GB, free: 1.504 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002518/1.173, allocations: 119.4 kB / 0.6441 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007248/1.174, allocations: 334.4 kB / 0.6444 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007089/1.181, allocations: 1.862 MB / 0.6462 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.181, allocations: 0 / 0.6462 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/1.181, allocations: 4 kB / 0.6462 GB, free: 15.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.099e-05/1.181, allocations: 0 / 0.6462 GB, free: 15.19 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001866/1.183, allocations: 1.049 MB / 0.6472 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.183, allocations: 15.97 kB / 0.6472 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/1.185, allocations: 0.4961 MB / 0.6477 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/1.187, allocations: 285.7 kB / 0.648 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-05/1.187, allocations: 46.06 kB / 0.6481 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/1.187, allocations: 56 kB / 0.6481 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/1.189, allocations: 0.8765 MB / 0.649 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.189, allocations: 4 kB / 0.649 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/1.189, allocations: 20 kB / 0.649 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/1.189, allocations: 35.97 kB / 0.649 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/1.19, allocations: 0.7201 MB / 0.6497 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005067/1.195, allocations: 4.924 MB / 0.6545 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/1.196, allocations: 273.1 kB / 0.6548 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/1.196, allocations: 177.3 kB / 0.655 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/1.198, allocations: 0.9197 MB / 0.6559 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/1.198, allocations: 34.56 kB / 0.6559 GB, free: 4.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 1.904e-06/1.198, allocations: 7.938 kB / 0.6559 GB, free: 4.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.001778/1.199, allocations: 0.6319 MB / 0.6565 GB, free: 3.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/1.199, allocations: 81.05 kB / 0.6566 GB, free: 3.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/1.2, allocations: 166.1 kB / 0.6567 GB, free: 3.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/1.2, allocations: 33.7 kB / 0.6568 GB, free: 3.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/1.2, allocations: 288.5 kB / 0.6571 GB, free: 3.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/1.2, allocations: 249.8 kB / 0.6573 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/1.2, allocations: 97.95 kB / 0.6574 GB, free: 2.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/1.2, allocations: 338.8 kB / 0.6577 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/1.201, allocations: 125.3 kB / 0.6578 GB, free: 2.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/1.201, allocations: 289.3 kB / 0.6581 GB, free: 2.105 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007461/1.202, allocations: 473.5 kB / 0.6586 GB, free: 1.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.202, allocations: 8 kB / 0.6586 GB, free: 1.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009114/1.203, allocations: 480.5 kB / 0.659 GB, free: 1.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.203, allocations: 8 kB / 0.659 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.203, allocations: 7.938 kB / 0.659 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/1.203, allocations: 8 kB / 0.659 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/1.203, allocations: 67.91 kB / 0.6591 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/1.203, allocations: 19.92 kB / 0.6591 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/1.203, allocations: 59.45 kB / 0.6592 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/1.203, allocations: 20.22 kB / 0.6592 GB, free: 0.9023 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002475/1.204, allocations: 193.7 kB / 0.6594 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/1.204, allocations: 31.77 kB / 0.6594 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/1.204, allocations: 29.91 kB / 0.6595 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.204, allocations: 0 / 0.6595 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.204, allocations: 4 kB / 0.6595 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/1.204, allocations: 0 / 0.6595 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/1.205, allocations: 468.1 kB / 0.6599 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.205, allocations: 0 / 0.6599 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/1.205, allocations: 39.92 kB / 0.6599 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.205, allocations: 0 / 0.6599 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/1.205, allocations: 15.92 kB / 0.66 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.205, allocations: 0 / 0.66 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/1.205, allocations: 4 kB / 0.66 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/1.206, allocations: 0.5332 MB / 0.6605 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/1.206, allocations: 39.62 kB / 0.6605 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/1.206, allocations: 11.92 kB / 0.6605 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/1.206, allocations: 4 kB / 0.6605 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/1.206, allocations: 24.33 kB / 0.6606 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/1.206, allocations: 12 kB / 0.6606 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001031/1.206, allocations: 120.1 kB / 0.6607 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/1.206, allocations: 0 / 0.6607 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007153/1.207, allocations: 203.3 kB / 0.6609 GB, free: 15.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006405/1.207, allocations: 300.7 kB / 0.6612 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001048/1.208, allocations: 0.5681 MB / 0.6617 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.208, allocations: 0 / 0.6617 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/1.209, allocations: 464.2 kB / 0.6622 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/1.21, allocations: 200.9 kB / 0.6624 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/1.213, allocations: 1.06 MB / 0.6634 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/1.213, allocations: 0.9435 MB / 0.6643 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005519/1.214, allocations: 261.9 kB / 0.6646 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.475e-05/1.214, allocations: 47.44 kB / 0.6646 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/1.214, allocations: 4 kB / 0.6646 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.02387/1.238, allocations: 12.47 MB / 0.6768 GB, free: 14.66 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.790952065959573] Failed to read output from testmodel.py, exit status != 0: 1.2457318210508674 1.261962842 0.077948083 Calling exit ...