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.001299/0.001299, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001267/0.001267, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01196/0.01196, allocations: 2.791 MB / 293.8 MB, free: 12.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 55.91 kB / 355.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1927, allocations: 50.24 MB / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01337/0.2062, allocations: 19.12 MB / 424.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.2095, allocations: 6.072 MB / 430.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.2097, allocations: 0 / 430.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.2103, allocations: 254.5 kB / 430.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.2127, allocations: 1.206 MB / 432 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.213, allocations: 91.36 kB / 432.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.2132, allocations: 293.8 kB / 432.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.2133, allocations: 32.7 kB / 432.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.2134, allocations: 91.48 kB / 432.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.2135, allocations: 111.5 kB / 432.6 MB, free: 5.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.2135, allocations: 8 kB / 432.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2523/0.4658, allocations: 38.13 MB / 470.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.4659, allocations: 27.84 kB / 470.7 MB, free: 488 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.4661, allocations: 131.3 kB / 470.9 MB, free: 356 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.4679, allocations: 0.5026 MB / 471.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4679, allocations: 3.938 kB / 471.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4679, allocations: 0 / 471.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.4679, allocations: 0 / 471.4 MB, free: 15.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.0006395/0.4686, allocations: 0.5617 MB / 471.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4686, allocations: 12.03 kB / 471.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007666/0.4694, allocations: 200.4 kB / 472.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.4695, allocations: 188.1 kB / 472.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.4696, allocations: 20.94 kB / 472.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.4696, allocations: 27.94 kB / 472.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.4701, allocations: 341.6 kB / 472.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4701, allocations: 0 / 472.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.4701, allocations: 12 kB / 472.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.4701, allocations: 8 kB / 472.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.4705, allocations: 263.9 kB / 473 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.4721, allocations: 2.142 MB / 475.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.4723, allocations: 129.1 kB / 475.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4724, allocations: 109.8 kB / 475.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/0.4731, allocations: 0.6861 MB / 476 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.4731, allocations: 38.5 kB / 476.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.4731, allocations: 0 / 476.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003653/0.4735, allocations: 182.6 kB / 476.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.4735, allocations: 81.05 kB / 476.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.4736, allocations: 109.9 kB / 476.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4736, allocations: 29.7 kB / 476.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.4737, allocations: 164.1 kB / 476.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.4738, allocations: 98.41 kB / 476.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.4739, allocations: 33.7 kB / 476.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.474, allocations: 330.8 kB / 477.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.474, allocations: 31.98 kB / 477.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-05/0.4741, allocations: 81 kB / 477.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.4743, allocations: 148.9 kB / 477.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4743, allocations: 3.938 kB / 477.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002373/0.4746, allocations: 169.2 kB / 477.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4746, allocations: 4 kB / 477.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4746, allocations: 4 kB / 477.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4746, allocations: 192 / 477.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.4747, allocations: 11.98 kB / 477.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4747, allocations: 4 kB / 477.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.4748, allocations: 23.78 kB / 477.6 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.4748, allocations: 7.938 kB / 477.6 MB, free: 8.992 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 0.0001186/0.4749, allocations: 130 kB / 477.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.475, allocations: 15.75 kB / 477.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.475, allocations: 12.44 kB / 477.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4751, allocations: 0 / 477.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4751, allocations: 0 / 477.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.4751, allocations: 7.984 kB / 477.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.4754, allocations: 273.4 kB / 478 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4754, allocations: 3.984 kB / 478 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.4755, allocations: 4 kB / 478 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4755, allocations: 4 kB / 478 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4755, allocations: 4 kB / 478 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4755, allocations: 0 / 478 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4755, allocations: 0 / 478 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.477, allocations: 315.2 kB / 478.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.4771, allocations: 96.8 kB / 478.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.4771, allocations: 0 / 478.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4772, allocations: 15.92 kB / 478.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.4773, allocations: 0 / 478.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.4773, allocations: 7.938 kB / 478.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.046e-05/0.4773, allocations: 83.28 kB / 478.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4773, allocations: 0 / 478.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.4778, allocations: 79.75 kB / 478.6 MB, free: 7.863 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: 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.0003676/0.4781, allocations: 189.2 kB / 478.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.4785, allocations: 236 kB / 479 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4785, allocations: 0 / 479 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.4787, allocations: 205.4 kB / 479.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/0.4794, allocations: 88.09 kB / 479.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/0.4802, allocations: 0.5522 MB / 479.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.4805, allocations: 0.7995 MB / 480.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.4806, allocations: 27.44 kB / 480.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4806, allocations: 0 / 480.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Templates: time 0.006349/0.487, allocations: 3.656 MB / 484.3 MB, free: 2.047 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile (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)