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.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.001029/0.001029, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.00104/0.00104, allocations: 173 kB / 23.49 MB, free: 1.062 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.01967/0.01967, allocations: 1.999 MB / 262.3 MB, free: 11.13 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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 332.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.276e-05, allocations: 6.312 kB / 332.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.03841/0.03844, allocations: 19.67 MB / 352 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.0499, allocations: 6.241 MB / 358.3 MB, free: 8.309 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.05021, allocations: 0 / 358.3 MB, free: 8.309 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007479/0.05096, allocations: 202.6 kB / 358.5 MB, free: 8.109 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.05356, allocations: 1.225 MB / 359.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.05381, allocations: 99.28 kB / 359.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.05416, allocations: 321.5 kB / 360.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.05422, allocations: 12.94 kB / 360.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.05435, allocations: 143.5 kB / 360.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.05445, allocations: 83.77 kB / 360.4 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.05447, allocations: 8 kB / 360.4 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6521/0.7065, allocations: 64.25 MB / 424.6 MB, free: 7.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.7066, allocations: 31.78 kB / 424.6 MB, free: 7.488 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.7068, allocations: 95.78 kB / 424.7 MB, free: 7.395 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.7085, allocations: 466.6 kB / 425.2 MB, free: 6.938 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7085, allocations: 0 / 425.2 MB, free: 6.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.7085, allocations: 0 / 425.2 MB, free: 6.938 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.7085, allocations: 0 / 425.2 MB, free: 6.938 MB / 394.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.0005217/0.709, allocations: 0.5971 MB / 425.8 MB, free: 6.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.709, allocations: 16.03 kB / 425.8 MB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006464/0.7097, allocations: 428 kB / 426.2 MB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/0.7098, allocations: 132.2 kB / 426.3 MB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.7098, allocations: 20.88 kB / 426.4 MB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.7098, allocations: 24.38 kB / 426.4 MB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.7101, allocations: 239.3 kB / 426.6 MB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.7101, allocations: 0 / 426.6 MB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.7101, allocations: 11.98 kB / 426.6 MB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.7102, allocations: 12 kB / 426.6 MB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.7103, allocations: 119.8 kB / 426.8 MB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/0.7111, allocations: 0.8976 MB / 427.7 MB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.7112, allocations: 106 kB / 427.8 MB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.7113, allocations: 55.45 kB / 427.8 MB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004144/0.7117, allocations: 0.674 MB / 428.5 MB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.7117, allocations: 37.39 kB / 428.5 MB, free: 3.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 7.31e-07/0.7117, allocations: 0 / 428.5 MB, free: 3.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002615/0.712, allocations: 169.5 kB / 428.7 MB, free: 3.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.712, allocations: 81.09 kB / 428.8 MB, free: 3.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.7121, allocations: 165.9 kB / 428.9 MB, free: 2.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.7121, allocations: 25.7 kB / 429 MB, free: 2.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.7122, allocations: 211.2 kB / 429.2 MB, free: 2.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.7122, allocations: 114.9 kB / 429.3 MB, free: 2.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.7122, allocations: 39.36 kB / 429.3 MB, free: 2.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7124, allocations: 0.5002 MB / 429.8 MB, free: 2.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.7124, allocations: 19.98 kB / 429.8 MB, free: 2.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.933e-05/0.7125, allocations: 94.09 kB / 429.9 MB, free: 1.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.7126, allocations: 130.8 kB / 430.1 MB, free: 1.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7126, allocations: 3.938 kB / 430.1 MB, free: 1.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001438/0.7127, allocations: 161.8 kB / 430.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.7127, allocations: 8.188 kB / 430.2 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7127, allocations: 4 kB / 430.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.7127, allocations: 0 / 430.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.7128, allocations: 11.98 kB / 430.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.7128, allocations: 4 kB / 430.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.7128, allocations: 19.78 kB / 430.3 MB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.7129, allocations: 8 kB / 430.3 MB, free: 1.535 MB / 394.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 9.613e-05/0.713, allocations: 168.5 kB / 430.4 MB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.713, allocations: 12.09 kB / 430.5 MB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.713, allocations: 16.45 kB / 430.5 MB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.713, allocations: 7.984 kB / 430.5 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.713, allocations: 0 / 430.5 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.713, allocations: 0 / 430.5 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.7132, allocations: 204.5 kB / 430.7 MB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7132, allocations: 3.938 kB / 430.7 MB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.7133, allocations: 4 kB / 430.7 MB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.7133, allocations: 0 / 430.7 MB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.7133, allocations: 0 / 430.7 MB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.7133, allocations: 7.938 kB / 430.7 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7133, allocations: 0 / 430.7 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.7135, allocations: 410.9 kB / 431.1 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.7135, allocations: 19.83 kB / 431.1 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.7135, allocations: 0 / 431.1 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.7136, allocations: 0 / 431.1 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.7136, allocations: 4 kB / 431.1 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.7136, allocations: 4 kB / 431.1 MB, free: 0.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.7137, allocations: 123.2 kB / 431.2 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7137, allocations: 0 / 431.2 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.7139, allocations: 87.73 kB / 431.3 MB, free: 428 kB / 394.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.0003914/0.7143, allocations: 201 kB / 431.5 MB, free: 216 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.7146, allocations: 212.3 kB / 431.7 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7146, allocations: 0 / 431.7 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.7147, allocations: 185 kB / 431.9 MB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.7151, allocations: 92.16 kB / 432 MB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.7159, allocations: 0.506 MB / 432.5 MB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/0.716, allocations: 101.2 kB / 432.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.557e-05/0.7161, allocations: 29.12 kB / 432.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.7162, allocations: 20.5 kB / 432.7 MB, free: 14.99 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.7162, allocations: 4 kB / 432.7 MB, free: 14.99 MB / 410.7 MB Notification: Performance of Templates: time 0.006718/0.7229, allocations: 4.648 MB / 437.3 MB, free: 10.32 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.504145686049014]