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.0008021/0.0008021, 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.001436/0.001436, allocations: 173.3 kB / 23.5 MB, free: 1.055 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 0.9723/0.9723, 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.01235/0.01235, allocations: 1.982 MB / 262.3 MB, free: 11.15 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.593e-06/1.593e-06, allocations: 0 / 332.4 MB, free: 17.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.462e-05, allocations: 2.312 kB / 332.4 MB, free: 17.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01127/0.01128, allocations: 19.67 MB / 352 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.01501, allocations: 6.237 MB / 358.3 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.01509, allocations: 0 / 358.3 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.01548, allocations: 202.7 kB / 358.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.01715, allocations: 1.225 MB / 359.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.01736, allocations: 87.3 kB / 359.8 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.01758, allocations: 325.5 kB / 360.1 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.01769, allocations: 20.91 kB / 360.1 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.206e-05/0.01778, allocations: 139.6 kB / 360.3 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/0.01787, allocations: 83.77 kB / 360.3 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.01788, allocations: 8 kB / 360.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.853/0.8709, allocations: 64.25 MB / 424.6 MB, free: 67.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.871, allocations: 32.75 kB / 424.6 MB, free: 67.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.8711, allocations: 95.03 kB / 424.7 MB, free: 67.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.8725, allocations: 479.5 kB / 425.2 MB, free: 67.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8725, allocations: 0 / 425.2 MB, free: 67.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.8725, allocations: 0 / 425.2 MB, free: 67.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.8725, allocations: 0 / 425.2 MB, free: 67.62 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.0005687/0.8731, allocations: 0.5954 MB / 425.8 MB, free: 67.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.8731, allocations: 9.438 kB / 425.8 MB, free: 67.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007753/0.8739, allocations: 421.9 kB / 426.2 MB, free: 67.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.874, allocations: 134.3 kB / 426.3 MB, free: 67.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.8741, allocations: 22.2 kB / 426.4 MB, free: 67.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.8741, allocations: 24.84 kB / 426.4 MB, free: 67.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.8744, allocations: 247.7 kB / 426.6 MB, free: 66.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.8744, allocations: 0 / 426.6 MB, free: 66.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.8744, allocations: 15.16 kB / 426.6 MB, free: 66.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.8744, allocations: 10.19 kB / 426.7 MB, free: 66.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.8745, allocations: 113.5 kB / 426.8 MB, free: 66.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.8753, allocations: 0.89 MB / 427.7 MB, free: 66.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.076e-05/0.8754, allocations: 102.6 kB / 427.8 MB, free: 66.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.8755, allocations: 58.5 kB / 427.8 MB, free: 66.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/0.8758, allocations: 0.6737 MB / 428.5 MB, free: 65.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.8758, allocations: 35.83 kB / 428.5 MB, free: 65.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.8758, allocations: 0 / 428.5 MB, free: 65.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002653/0.8761, allocations: 171 kB / 428.7 MB, free: 65.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.8761, allocations: 86.64 kB / 428.8 MB, free: 65.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.8762, allocations: 167.1 kB / 428.9 MB, free: 65.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.8762, allocations: 27.02 kB / 429 MB, free: 65.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.8762, allocations: 207.7 kB / 429.2 MB, free: 65.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.8763, allocations: 109.3 kB / 429.3 MB, free: 65.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.8763, allocations: 45.03 kB / 429.3 MB, free: 65.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.8764, allocations: 0.4898 MB / 429.8 MB, free: 64.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.8764, allocations: 23.83 kB / 429.8 MB, free: 64.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/0.8765, allocations: 89.66 kB / 429.9 MB, free: 64.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.8766, allocations: 139.3 kB / 430.1 MB, free: 64.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8766, allocations: 0 / 430.1 MB, free: 64.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000162/0.8768, allocations: 165.9 kB / 430.2 MB, free: 64.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.8768, allocations: 5.5 kB / 430.2 MB, free: 64.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8768, allocations: 1.062 kB / 430.2 MB, free: 64.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.8768, allocations: 2.281 kB / 430.2 MB, free: 64.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.8769, allocations: 12.66 kB / 430.2 MB, free: 64.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.8769, allocations: 9.688 kB / 430.2 MB, free: 64.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.8769, allocations: 19.12 kB / 430.3 MB, free: 64.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.8769, allocations: 3.812 kB / 430.3 MB, free: 64.42 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 6.186e-05/0.877, allocations: 160.9 kB / 430.4 MB, free: 64.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.877, allocations: 16.23 kB / 430.4 MB, free: 64.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.877, allocations: 12.31 kB / 430.5 MB, free: 64.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.877, allocations: 0 / 430.5 MB, free: 64.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.877, allocations: 2 kB / 430.5 MB, free: 64.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.877, allocations: 0 / 430.5 MB, free: 64.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.8772, allocations: 212.7 kB / 430.7 MB, free: 64.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8772, allocations: 8.188 kB / 430.7 MB, free: 64.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.8772, allocations: 7.438 kB / 430.7 MB, free: 64.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.8772, allocations: 3.938 kB / 430.7 MB, free: 64.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.8773, allocations: 7.312 kB / 430.7 MB, free: 64.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8773, allocations: 1.562 kB / 430.7 MB, free: 64.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8773, allocations: 3 kB / 430.7 MB, free: 64.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.8774, allocations: 407.9 kB / 431.1 MB, free: 63.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.8774, allocations: 21.86 kB / 431.1 MB, free: 63.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.8775, allocations: 1.094 kB / 431.1 MB, free: 63.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.521e-05/0.8775, allocations: 0 / 431.1 MB, free: 63.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.8775, allocations: 5.578 kB / 431.1 MB, free: 63.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.8775, allocations: 10.28 kB / 431.1 MB, free: 63.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.918e-05/0.8776, allocations: 121.7 kB / 431.2 MB, free: 63.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.8776, allocations: 0.875 kB / 431.2 MB, free: 63.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.8778, allocations: 91.66 kB / 431.3 MB, free: 63.61 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.0003499/0.8782, allocations: 185.3 kB / 431.5 MB, free: 63.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.8784, allocations: 203.2 kB / 431.7 MB, free: 63.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8784, allocations: 384 / 431.7 MB, free: 63.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.8785, allocations: 190.3 kB / 431.9 MB, free: 63.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.879, allocations: 84.02 kB / 432 MB, free: 63.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.8799, allocations: 0.5258 MB / 432.5 MB, free: 62.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.346e-05/0.8799, allocations: 101.5 kB / 432.6 MB, free: 62.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.88, allocations: 27.73 kB / 432.6 MB, free: 62.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.8801, allocations: 23.62 kB / 432.7 MB, free: 62.85 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8801, allocations: 0.7656 kB / 432.7 MB, free: 62.85 MB / 330.7 MB Notification: Performance of Templates: time 0.007831/0.8879, allocations: 4.652 MB / 437.3 MB, free: 61.21 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: 4.478619126137346]