Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.002491/0.002491, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.003045/0.003045, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01347/0.01347, allocations: 1.997 MB / 261.6 MB, free: 11.1 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 331.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.707e-05, allocations: 4.703 kB / 331.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01537/0.01539, allocations: 19.62 MB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007769/0.02316, allocations: 6.225 MB / 357.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.02344, allocations: 4 kB / 357.5 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007317/0.02417, allocations: 210.6 kB / 357.7 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.02783, allocations: 1.225 MB / 358.9 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.02816, allocations: 87.36 kB / 359 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.02865, allocations: 325.5 kB / 359.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.566e-05/0.02872, allocations: 20.91 kB / 359.3 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.0289, allocations: 143.6 kB / 359.5 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.02907, allocations: 83.77 kB / 359.6 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.02909, allocations: 4 kB / 359.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.286/1.315, allocations: 64.25 MB / 423.8 MB, free: 67.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/1.315, allocations: 39.75 kB / 423.9 MB, free: 67.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/1.315, allocations: 83.59 kB / 423.9 MB, free: 67.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/1.317, allocations: 0.5112 MB / 424.4 MB, free: 67.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.317, allocations: 0 / 424.4 MB, free: 67.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/1.317, allocations: 0 / 424.4 MB, free: 67.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/1.317, allocations: 0 / 424.4 MB, free: 67.66 MB / 330.7 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.0005121/1.317, allocations: 0.6027 MB / 425 MB, free: 67.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/1.317, allocations: 9.188 kB / 425.1 MB, free: 67.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000829/1.318, allocations: 425.8 kB / 425.5 MB, free: 67.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.988e-05/1.318, allocations: 138.2 kB / 425.6 MB, free: 67.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/1.318, allocations: 19.22 kB / 425.6 MB, free: 67.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/1.318, allocations: 26.03 kB / 425.7 MB, free: 67.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/1.319, allocations: 272.8 kB / 425.9 MB, free: 66.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/1.319, allocations: 2.672 kB / 425.9 MB, free: 66.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1.319, allocations: 13.84 kB / 425.9 MB, free: 66.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/1.319, allocations: 13.48 kB / 425.9 MB, free: 66.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/1.319, allocations: 144.4 kB / 426.1 MB, free: 66.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/1.32, allocations: 0.9281 MB / 427 MB, free: 66.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/1.32, allocations: 107.4 kB / 427.1 MB, free: 66.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/1.32, allocations: 78.38 kB / 427.2 MB, free: 66.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/1.32, allocations: 0.6743 MB / 427.9 MB, free: 65.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/1.32, allocations: 39.94 kB / 427.9 MB, free: 65.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.172e-06/1.32, allocations: 0 / 427.9 MB, free: 65.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003397/1.321, allocations: 203 kB / 428.1 MB, free: 65.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/1.321, allocations: 77.11 kB / 428.2 MB, free: 65.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/1.321, allocations: 171.2 kB / 428.4 MB, free: 65.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/1.321, allocations: 25.7 kB / 428.4 MB, free: 65.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/1.321, allocations: 208.7 kB / 428.6 MB, free: 65.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/1.321, allocations: 111.6 kB / 428.7 MB, free: 65.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/1.321, allocations: 46.41 kB / 428.7 MB, free: 65.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.323e-05/1.321, allocations: 0.4992 MB / 429.2 MB, free: 64.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/1.321, allocations: 30.72 kB / 429.3 MB, free: 64.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/1.321, allocations: 93.06 kB / 429.4 MB, free: 64.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/1.321, allocations: 162.9 kB / 429.5 MB, free: 64.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.321, allocations: 2.688 kB / 429.5 MB, free: 64.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002015/1.321, allocations: 177.5 kB / 429.7 MB, free: 64.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.321, allocations: 5.406 kB / 429.7 MB, free: 64.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.321, allocations: 2.688 kB / 429.7 MB, free: 64.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.321, allocations: 2.953 kB / 429.7 MB, free: 64.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/1.321, allocations: 16 kB / 429.7 MB, free: 64.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.321, allocations: 2.875 kB / 429.7 MB, free: 64.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/1.322, allocations: 22.56 kB / 429.7 MB, free: 64.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/1.322, allocations: 5.125 kB / 429.7 MB, free: 64.45 MB / 330.7 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 8.212e-05/1.322, allocations: 174.1 kB / 429.9 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/1.322, allocations: 13.92 kB / 429.9 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/1.322, allocations: 9.281 kB / 429.9 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.322, allocations: 1.344 kB / 429.9 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.322, allocations: 1.312 kB / 429.9 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.322, allocations: 2.531 kB / 429.9 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/1.322, allocations: 230.5 kB / 430.2 MB, free: 64.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.322, allocations: 1.094 kB / 430.2 MB, free: 64.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/1.322, allocations: 6.812 kB / 430.2 MB, free: 64.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.322, allocations: 5.125 kB / 430.2 MB, free: 64.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/1.322, allocations: 2.312 kB / 430.2 MB, free: 64.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.322, allocations: 1.219 kB / 430.2 MB, free: 64.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.322, allocations: 0 / 430.2 MB, free: 64.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/1.322, allocations: 422.6 kB / 430.6 MB, free: 63.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/1.322, allocations: 23.89 kB / 430.6 MB, free: 63.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/1.322, allocations: 9.891 kB / 430.6 MB, free: 63.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/1.322, allocations: 0 / 430.6 MB, free: 63.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/1.322, allocations: 6.938 kB / 430.6 MB, free: 63.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/1.322, allocations: 7.531 kB / 430.6 MB, free: 63.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.431e-05/1.322, allocations: 125.1 kB / 430.8 MB, free: 63.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/1.322, allocations: 0 / 430.8 MB, free: 63.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003636/1.323, allocations: 88.7 kB / 430.9 MB, free: 63.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 2 * 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.000413/1.323, allocations: 191.4 kB / 431 MB, free: 63.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002603/1.323, allocations: 225.2 kB / 431.3 MB, free: 63.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.323, allocations: 6.094 kB / 431.3 MB, free: 63.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/1.324, allocations: 194.8 kB / 431.5 MB, free: 63.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/1.324, allocations: 77.42 kB / 431.5 MB, free: 63.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/1.325, allocations: 0.5137 MB / 432 MB, free: 62.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/1.325, allocations: 194.7 kB / 432.2 MB, free: 62.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.727e-05/1.325, allocations: 24.98 kB / 432.3 MB, free: 62.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/1.325, allocations: 23.77 kB / 432.3 MB, free: 62.88 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/1.325, allocations: 1.219 kB / 432.3 MB, free: 62.88 MB / 330.7 MB Notification: Performance of Templates: time 0.0087/1.334, allocations: 4.641 MB / 436.9 MB, free: 61.16 MB / 330.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.0919483550824225]