Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.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_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0046/0.0046, allocations: 97.33 kB / 15.73 MB, free: 5.527 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.001067/0.001067, allocations: 187 kB / 16.67 MB, free: 5.465 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1053/0.1053, allocations: 2.764 MB / 293.3 MB, free: 3.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.89 kB / 405.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.212, allocations: 50.23 MB / 456.2 MB, free: 21.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.06523/0.2773, allocations: 82.94 MB / 0.5265 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03187/0.3092, allocations: 40.73 MB / 0.5662 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.3104, allocations: 4 kB / 0.5662 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.3136, allocations: 1.235 MB / 0.5674 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01887/0.3325, allocations: 6.969 MB / 0.5743 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009794/0.3335, allocations: 266.1 kB / 0.5745 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002446/0.336, allocations: 1.35 MB / 0.5758 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.3363, allocations: 111 kB / 0.5759 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/0.3369, allocations: 421.8 kB / 0.5763 GB, free: 14.63 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007549/0.3377, allocations: 0.4936 MB / 0.5768 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.442e-05/0.3378, allocations: 40 kB / 0.5769 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.4/1.738, allocations: 169.1 MB / 0.742 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/1.738, allocations: 155 kB / 0.7421 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008469/1.739, allocations: 0.5909 MB / 0.7427 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/1.75, allocations: 2.784 MB / 0.7454 GB, free: 8.305 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.75, allocations: 0 / 0.7454 GB, free: 8.305 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.412e-06/1.75, allocations: 0 / 0.7454 GB, free: 8.305 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.905e-05/1.75, allocations: 0 / 0.7454 GB, free: 8.305 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001958/1.752, allocations: 1.626 MB / 0.747 GB, free: 6.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.752, allocations: 8.031 kB / 0.747 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/1.756, allocations: 1.223 MB / 0.7482 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/1.756, allocations: 279.7 kB / 0.7485 GB, free: 5.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.905e-05/1.756, allocations: 75.69 kB / 0.7486 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.756, allocations: 89.88 kB / 0.7486 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/1.758, allocations: 1.703 MB / 0.7503 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/1.758, allocations: 0 / 0.7503 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/1.758, allocations: 40.69 kB / 0.7503 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/1.759, allocations: 70.88 kB / 0.7504 GB, free: 4.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/1.76, allocations: 1.611 MB / 0.752 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005906/1.766, allocations: 8.583 MB / 0.7604 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/1.767, allocations: 0.7654 MB / 0.7611 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/1.768, allocations: 0.7384 MB / 0.7618 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/1.77, allocations: 2.356 MB / 0.7641 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.77, allocations: 39.16 kB / 0.7642 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=182): time 2.534e-06/1.77, allocations: 0 / 0.7642 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=182): time 0.009304/1.779, allocations: 1.514 MB / 0.7657 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/1.779, allocations: 81.11 kB / 0.7657 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/1.779, allocations: 133.2 kB / 0.7659 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/1.78, allocations: 29.52 kB / 0.7659 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/1.78, allocations: 412.3 kB / 0.7663 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005922/1.78, allocations: 0.5923 MB / 0.7669 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/1.78, allocations: 140.2 kB / 0.767 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/1.781, allocations: 309.9 kB / 0.7673 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/1.781, allocations: 333.5 kB / 0.7676 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/1.781, allocations: 497.4 kB / 0.7681 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/1.783, allocations: 1.029 MB / 0.7691 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.783, allocations: 0 / 0.7691 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001333/1.784, allocations: 1.053 MB / 0.7701 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.784, allocations: 8 kB / 0.7701 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.784, allocations: 4.406 kB / 0.7701 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.784, allocations: 8 kB / 0.7701 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/1.784, allocations: 31.45 kB / 0.7702 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.784, allocations: 4 kB / 0.7702 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/1.784, allocations: 87.08 kB / 0.7703 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/1.784, allocations: 24 kB / 0.7703 GB, free: 2.973 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003468/1.785, allocations: 227.2 kB / 0.7705 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/1.785, allocations: 55.55 kB / 0.7705 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/1.785, allocations: 31.95 kB / 0.7706 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/1.785, allocations: 15.98 kB / 0.7706 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.785, allocations: 0 / 0.7706 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.785, allocations: 4 kB / 0.7706 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/1.786, allocations: 1.044 MB / 0.7716 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.786, allocations: 7.938 kB / 0.7716 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/1.786, allocations: 4 kB / 0.7716 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.786, allocations: 0 / 0.7716 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/1.786, allocations: 19.98 kB / 0.7716 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.786, allocations: 0 / 0.7716 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.786, allocations: 0 / 0.7716 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/1.788, allocations: 1.192 MB / 0.7728 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/1.788, allocations: 160.2 kB / 0.773 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/1.788, allocations: 8 kB / 0.773 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/1.788, allocations: 4 kB / 0.773 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/1.788, allocations: 15.98 kB / 0.773 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/1.788, allocations: 19.98 kB / 0.773 GB, free: 96 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.775e-05/1.788, allocations: 95.28 kB / 0.7731 GB, free: 0 / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.788, allocations: 0 / 0.7731 GB, free: 0 / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009995/1.789, allocations: 390.9 kB / 0.7735 GB, free: 15.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0008416/1.79, allocations: 0.531 MB / 0.774 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001657/1.792, allocations: 1.745 MB / 0.7757 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.792, allocations: 0 / 0.7757 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/1.793, allocations: 1.822 MB / 0.7775 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/1.795, allocations: 475.7 kB / 0.7779 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/1.798, allocations: 2.141 MB / 0.78 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/1.799, allocations: 1.297 MB / 0.7813 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006205/1.8, allocations: 178.7 kB / 0.7815 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/1.8, allocations: 75.44 kB / 0.7815 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/1.8, allocations: 0 / 0.7815 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of Templates: time 0.2172/2.017, allocations: 27.42 MB / 0.8083 GB, free: 263.7 MB / 0.5919 GB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1)