Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 104.7 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 197.8 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01149/0.01149, allocations: 2.781 MB / 293.5 MB, free: 12.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 55.91 kB / 354.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2205, allocations: 50.22 MB / 404.8 MB, free: 33.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01335/0.2338, allocations: 19.03 MB / 423.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003314/0.2372, allocations: 6.03 MB / 429.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.2374, allocations: 0 / 429.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.2381, allocations: 246.8 kB / 430.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.2405, allocations: 1.11 MB / 431.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.2408, allocations: 83.5 kB / 431.3 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.2411, allocations: 293.9 kB / 431.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.915e-05/0.2412, allocations: 32.72 kB / 431.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.2413, allocations: 95.47 kB / 431.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.2414, allocations: 111.5 kB / 431.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.2414, allocations: 8 kB / 431.8 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5229/0.7643, allocations: 38.12 MB / 469.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.7644, allocations: 31.78 kB / 470 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.7646, allocations: 123.4 kB / 470.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007577/0.7654, allocations: 367.1 kB / 470.4 MB, free: 432 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7654, allocations: 0 / 470.4 MB, free: 432 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7654, allocations: 0 / 470.4 MB, free: 432 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.7654, allocations: 0 / 470.4 MB, free: 432 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0006734/0.7661, allocations: 0.5578 MB / 471 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7661, allocations: 12.02 kB / 471 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008155/0.767, allocations: 204.5 kB / 471.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.7671, allocations: 188.1 kB / 471.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.7672, allocations: 24.81 kB / 471.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.7672, allocations: 27.94 kB / 471.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.7677, allocations: 337.6 kB / 471.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7677, allocations: 0 / 471.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.7677, allocations: 8 kB / 471.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.7677, allocations: 12 kB / 471.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.7681, allocations: 267.8 kB / 472 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.7697, allocations: 2.118 MB / 474.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.7699, allocations: 133.1 kB / 474.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.77, allocations: 105.8 kB / 474.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/0.7707, allocations: 0.6978 MB / 475.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.7707, allocations: 30.56 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.7707, allocations: 0 / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003487/0.7711, allocations: 189.8 kB / 475.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.7711, allocations: 77.11 kB / 475.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.7712, allocations: 101.9 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.7713, allocations: 29.64 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.7714, allocations: 164.2 kB / 475.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.7714, allocations: 106.3 kB / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.7715, allocations: 37.7 kB / 475.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7716, allocations: 330.8 kB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.7717, allocations: 31.98 kB / 476.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/0.7718, allocations: 84.97 kB / 476.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.7719, allocations: 153.7 kB / 476.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.772, allocations: 0 / 476.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002306/0.7722, allocations: 165.5 kB / 476.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7722, allocations: 4 kB / 476.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7722, allocations: 0 / 476.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.7722, allocations: 4 kB / 476.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.7723, allocations: 8 kB / 476.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7723, allocations: 4 kB / 476.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.7725, allocations: 27.86 kB / 476.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.7725, allocations: 11.94 kB / 476.6 MB, free: 9.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000113/0.7726, allocations: 125.8 kB / 476.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.7727, allocations: 11.81 kB / 476.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.7732, allocations: 430 kB / 477.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003618/0.7735, allocations: 337.2 kB / 477.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7735, allocations: 0 / 477.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.7736, allocations: 3.938 kB / 477.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.7748, allocations: 1.038 MB / 478.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.7748, allocations: 4 kB / 478.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.7749, allocations: 51.92 kB / 478.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.7749, allocations: 4.281 kB / 478.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.7749, allocations: 4 kB / 478.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.775, allocations: 4 kB / 478.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.775, allocations: 0 / 478.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.7754, allocations: 0.5137 MB / 479.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.7755, allocations: 100.8 kB / 479.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.7756, allocations: 4 kB / 479.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.7758, allocations: 47.72 kB / 479.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.7758, allocations: 19.98 kB / 479.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.7758, allocations: 7.938 kB / 479.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.664e-05/0.7759, allocations: 91.27 kB / 479.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7759, allocations: 0 / 479.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.7763, allocations: 99.69 kB / 479.5 MB, free: 6.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000346/0.7767, allocations: 193.1 kB / 479.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004613/0.7772, allocations: 314.6 kB / 480 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7772, allocations: 4.312 kB / 480 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.7774, allocations: 176.7 kB / 480.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.7784, allocations: 173.3 kB / 480.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.7794, allocations: 0.8298 MB / 481.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.7799, allocations: 0.8008 MB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.7799, allocations: 23.44 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.7799, allocations: 4 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of Templates: time 0.006125/0.7861, allocations: 3.593 MB / 485.6 MB, free: 436 kB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1)