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.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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001743/0.001743, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1765/0.1765, allocations: 2.792 MB / 293.9 MB, free: 4.305 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003791, allocations: 4 kB / 355.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 51.25 MB / 406.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.2872/0.4217, allocations: 17.51 MB / 424.4 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005672/0.4274, allocations: 5.595 MB / 430 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.4276, allocations: 0 / 430 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000771/0.4284, allocations: 224.3 kB / 430.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.432, allocations: 1.05 MB / 431.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.4324, allocations: 81.62 kB / 431.3 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.4328, allocations: 288.3 kB / 431.6 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.4329, allocations: 24.97 kB / 431.6 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.433, allocations: 86.88 kB / 431.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.4331, allocations: 113.4 kB / 431.8 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.4331, allocations: 6.25 kB / 431.8 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06531/0.4985, allocations: 32.41 MB / 464.2 MB, free: 32.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.4986, allocations: 34.05 kB / 464.3 MB, free: 32.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.4988, allocations: 77.52 kB / 464.3 MB, free: 31.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000813/0.4996, allocations: 352.7 kB / 464.7 MB, free: 31.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.4996, allocations: 0 / 464.7 MB, free: 31.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4996, allocations: 0 / 464.7 MB, free: 31.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.4997, allocations: 0 / 464.7 MB, free: 31.84 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.0005411/0.5002, allocations: 0.5289 MB / 465.2 MB, free: 31.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5003, allocations: 18.09 kB / 465.2 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008239/0.5011, allocations: 198.9 kB / 465.4 MB, free: 31.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.5012, allocations: 189.6 kB / 465.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.5012, allocations: 16.7 kB / 465.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.5013, allocations: 24.81 kB / 465.7 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.5017, allocations: 330.1 kB / 466 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.5017, allocations: 3 kB / 466 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.5017, allocations: 9.25 kB / 466 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.5018, allocations: 17.27 kB / 466 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.5021, allocations: 261.6 kB / 466.3 MB, free: 31.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.5034, allocations: 2.123 MB / 468.4 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.5035, allocations: 131.1 kB / 468.5 MB, free: 29.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.5036, allocations: 105.1 kB / 468.6 MB, free: 29.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004915/0.5041, allocations: 0.6941 MB / 469.3 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.5042, allocations: 34.19 kB / 469.3 MB, free: 28.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.5042, allocations: 0 / 469.3 MB, free: 28.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003217/0.5045, allocations: 184.7 kB / 469.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.5046, allocations: 77.11 kB / 469.6 MB, free: 28.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.5046, allocations: 107.1 kB / 469.7 MB, free: 28.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5047, allocations: 29.77 kB / 469.7 MB, free: 28.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.5047, allocations: 162.4 kB / 469.9 MB, free: 27.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.5048, allocations: 101.1 kB / 470 MB, free: 27.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.5048, allocations: 3.562 kB / 470 MB, free: 27.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.5049, allocations: 320.8 kB / 470.3 MB, free: 27.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.5049, allocations: 35.45 kB / 470.3 MB, free: 27.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.505, allocations: 90.42 kB / 470.4 MB, free: 27.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.6e-05/0.5051, allocations: 51.11 kB / 470.5 MB, free: 27.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5051, allocations: 7.891 kB / 470.5 MB, free: 27.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002101/0.5053, allocations: 155.4 kB / 470.6 MB, free: 27.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.5054, allocations: 7.156 kB / 470.6 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.5054, allocations: 3.062 kB / 470.7 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5054, allocations: 4 kB / 470.7 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.5055, allocations: 13.2 kB / 470.7 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5055, allocations: 3.375 kB / 470.7 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.5056, allocations: 28.36 kB / 470.7 MB, free: 27.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.5056, allocations: 7.5 kB / 470.7 MB, free: 27.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.5057, allocations: 132.7 kB / 470.8 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.5058, allocations: 15.84 kB / 470.9 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.5063, allocations: 428 kB / 471.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003672/0.5067, allocations: 327.4 kB / 471.6 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5067, allocations: 3.938 kB / 471.6 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5067, allocations: 3.469 kB / 471.6 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.5078, allocations: 1.025 MB / 472.6 MB, free: 26.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5078, allocations: 0 / 472.6 MB, free: 26.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.508, allocations: 50.52 kB / 472.7 MB, free: 26.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.508, allocations: 1.562 kB / 472.7 MB, free: 26.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.508, allocations: 9.375 kB / 472.7 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.508, allocations: 3.188 kB / 472.7 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.508, allocations: 4 kB / 472.7 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.5085, allocations: 0.4973 MB / 473.2 MB, free: 26.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.5086, allocations: 107 kB / 473.3 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.5086, allocations: 6.781 kB / 473.3 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.5088, allocations: 50.48 kB / 473.3 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.5089, allocations: 21.22 kB / 473.4 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.5089, allocations: 6.156 kB / 473.4 MB, free: 26.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.5089, allocations: 82.69 kB / 473.5 MB, free: 26.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5089, allocations: 0 / 473.5 MB, free: 26.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000423/0.5094, allocations: 108.6 kB / 473.6 MB, free: 26.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004147/0.5098, allocations: 197.4 kB / 473.8 MB, free: 25.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000399/0.5102, allocations: 301.5 kB / 474 MB, free: 25.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5102, allocations: 4 kB / 474.1 MB, free: 25.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.5104, allocations: 164.2 kB / 474.2 MB, free: 25.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000915/0.5113, allocations: 168.6 kB / 474.4 MB, free: 25.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008709/0.5122, allocations: 0.8113 MB / 475.2 MB, free: 24.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.5124, allocations: 0.8042 MB / 476 MB, free: 23.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.5126, allocations: 28.89 kB / 476 MB, free: 23.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.5126, allocations: 23.44 kB / 476 MB, free: 23.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5126, allocations: 4 kB / 476 MB, free: 23.79 MB / 350.1 MB Notification: Performance of Templates: time 0.01054/0.5232, allocations: 5.536 MB / 481.6 MB, free: 20.64 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) Environment - environmentSimulation: