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.00141/0.00141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00177/0.00177, allocations: 193 kB / 16.25 MB, free: 6.617 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1131/0.1131, allocations: 2.766 MB / 292.8 MB, free: 3.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 59.89 kB / 353.9 MB, free: 4.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.09067, allocations: 50.23 MB / 404.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.166/0.2567, allocations: 19.03 MB / 423.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003865/0.2606, allocations: 6.032 MB / 429.2 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.2608, allocations: 4 kB / 429.2 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.2613, allocations: 238.8 kB / 429.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.2634, allocations: 1.112 MB / 430.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.2636, allocations: 77.53 kB / 430.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.2638, allocations: 308.8 kB / 430.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.2639, allocations: 27.91 kB / 430.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.264, allocations: 90.95 kB / 431 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2641, allocations: 117.2 kB / 431.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2641, allocations: 9.5 kB / 431.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5102/0.7743, allocations: 38.1 MB / 469.3 MB, free: 18.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.7743, allocations: 36.66 kB / 469.3 MB, free: 18.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.7746, allocations: 126.8 kB / 469.4 MB, free: 18.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.7765, allocations: 0.4984 MB / 469.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.7765, allocations: 0 / 469.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7765, allocations: 0 / 469.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.7765, allocations: 0 / 469.9 MB, free: 18.3 MB / 350.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.0005859/0.7771, allocations: 0.5706 MB / 470.5 MB, free: 17.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.7772, allocations: 8.938 kB / 470.5 MB, free: 17.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007982/0.778, allocations: 202.7 kB / 470.7 MB, free: 17.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.034e-05/0.7781, allocations: 188.9 kB / 470.9 MB, free: 17.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.7781, allocations: 22.94 kB / 470.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.7781, allocations: 22.78 kB / 470.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.7786, allocations: 339.7 kB / 471.3 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.7786, allocations: 4 kB / 471.3 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.7786, allocations: 9.938 kB / 471.3 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.7786, allocations: 14.22 kB / 471.3 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.7789, allocations: 260.8 kB / 471.5 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.7802, allocations: 2.131 MB / 473.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.7803, allocations: 130.5 kB / 473.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.7805, allocations: 114 kB / 473.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/0.781, allocations: 0.6879 MB / 474.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.781, allocations: 33.56 kB / 474.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.781, allocations: 0 / 474.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003309/0.7813, allocations: 180.2 kB / 474.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.7814, allocations: 79.23 kB / 474.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.7814, allocations: 105.9 kB / 475 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.7815, allocations: 31.2 kB / 475 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.7815, allocations: 162.6 kB / 475.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.7816, allocations: 101.2 kB / 475.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.7817, allocations: 33.7 kB / 475.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.7817, allocations: 329 kB / 475.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.7818, allocations: 34.31 kB / 475.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.7818, allocations: 84.34 kB / 475.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.782, allocations: 148.8 kB / 475.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.782, allocations: 4.969 kB / 475.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002274/0.7822, allocations: 161 kB / 476.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.7823, allocations: 6.75 kB / 476.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7823, allocations: 1.312 kB / 476.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.7823, allocations: 1.281 kB / 476.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.7824, allocations: 13.31 kB / 476.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.7824, allocations: 1.25 kB / 476.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.7825, allocations: 28.31 kB / 476.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.7826, allocations: 8.578 kB / 476.1 MB, free: 13.25 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 8.145e-05/0.7826, allocations: 135.6 kB / 476.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.7827, allocations: 14.5 kB / 476.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.7831, allocations: 424 kB / 476.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003381/0.7835, allocations: 333.6 kB / 477 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7835, allocations: 4.906 kB / 477 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7835, allocations: 4.547 kB / 477 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.7845, allocations: 1.035 MB / 478 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.7846, allocations: 7.266 kB / 478.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.7847, allocations: 51.58 kB / 478.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.7847, allocations: 1.562 kB / 478.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.7847, allocations: 6.469 kB / 478.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.7848, allocations: 9.203 kB / 478.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7848, allocations: 1.094 kB / 478.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.7852, allocations: 0.5004 MB / 478.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.7853, allocations: 104.1 kB / 478.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.7853, allocations: 9.969 kB / 478.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.7856, allocations: 46.94 kB / 478.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.7856, allocations: 24.56 kB / 478.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.7857, allocations: 6.5 kB / 478.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.689e-05/0.7857, allocations: 85.09 kB / 478.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.7857, allocations: 1.281 kB / 478.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004997/0.7862, allocations: 97.09 kB / 479 MB, free: 11.44 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.0003638/0.7866, allocations: 203.6 kB / 479.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.787, allocations: 318.9 kB / 479.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7871, allocations: 3.938 kB / 479.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.7873, allocations: 176.2 kB / 479.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.7883, allocations: 171.2 kB / 479.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008976/0.7892, allocations: 0.7899 MB / 480.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.7894, allocations: 0.8079 MB / 481.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.7896, allocations: 30.78 kB / 481.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.7897, allocations: 24.53 kB / 481.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.7897, allocations: 0 / 481.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of Templates: time 0.01106/0.8007, allocations: 6.076 MB / 487.6 MB, free: 9.195 MB / 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)