Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005822/0.005822, allocations: 105.3 kB / 15.74 MB, free: 6 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.001342/0.001342, allocations: 183.8 kB / 16.67 MB, free: 5.926 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01059/0.01059, allocations: 2.771 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 59.91 kB / 405.9 MB, free: 29.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0682/0.06924, allocations: 50.23 MB / 456.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2465/0.3157, allocations: 82.92 MB / 0.5264 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02675/0.3425, allocations: 40.74 MB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.3436, allocations: 8.594 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.3463, allocations: 1.24 MB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02024/0.3666, allocations: 6.959 MB / 0.5742 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.3676, allocations: 272.6 kB / 0.5745 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.3695, allocations: 1.347 MB / 0.5758 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.3697, allocations: 112.1 kB / 0.5759 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000427/0.3701, allocations: 421.8 kB / 0.5763 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.3707, allocations: 0.4897 MB / 0.5768 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.3708, allocations: 36 kB / 0.5768 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178/1.549, allocations: 167 MB / 0.7399 GB, free: 126 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/1.549, allocations: 146 kB / 0.7401 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008307/1.55, allocations: 0.5947 MB / 0.7406 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009886/1.56, allocations: 2.79 MB / 0.7434 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.56, allocations: 0 / 0.7434 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/1.56, allocations: 0 / 0.7434 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.838e-05/1.56, allocations: 4 kB / 0.7434 GB, free: 124.3 MB / 0.5294 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.001217/1.561, allocations: 1.628 MB / 0.745 GB, free: 123 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/1.561, allocations: 8.031 kB / 0.745 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/1.565, allocations: 1.212 MB / 0.7461 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/1.565, allocations: 285.9 kB / 0.7464 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/1.566, allocations: 71 kB / 0.7465 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.849e-05/1.566, allocations: 94.94 kB / 0.7466 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/1.567, allocations: 1.709 MB / 0.7482 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/1.567, allocations: 0 / 0.7482 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/1.567, allocations: 36.44 kB / 0.7483 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/1.567, allocations: 73.28 kB / 0.7483 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/1.569, allocations: 1.61 MB / 0.7499 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/1.573, allocations: 8.59 MB / 0.7583 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/1.574, allocations: 0.7607 MB / 0.7591 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/1.574, allocations: 0.7447 MB / 0.7598 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/1.576, allocations: 2.356 MB / 0.7621 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/1.576, allocations: 34.44 kB / 0.7621 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.773e-06/1.576, allocations: 0 / 0.7621 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002335/1.578, allocations: 1.518 MB / 0.7636 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/1.578, allocations: 84.2 kB / 0.7637 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/1.578, allocations: 134.7 kB / 0.7638 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.578, allocations: 25.7 kB / 0.7638 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.579, allocations: 405.8 kB / 0.7642 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/1.579, allocations: 0.5967 MB / 0.7648 GB, free: 108 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/1.579, allocations: 137.6 kB / 0.7649 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.341e-05/1.579, allocations: 306 kB / 0.7652 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/1.579, allocations: 340.7 kB / 0.7655 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/1.58, allocations: 498.1 kB / 0.766 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008414/1.581, allocations: 1.019 MB / 0.767 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.581, allocations: 6.625 kB / 0.767 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00103/1.582, allocations: 1.055 MB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.582, allocations: 8 kB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.582, allocations: 4 kB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.582, allocations: 8 kB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/1.582, allocations: 35.08 kB / 0.7681 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/1.582, allocations: 7 kB / 0.7681 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/1.582, allocations: 83.12 kB / 0.7682 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/1.582, allocations: 24 kB / 0.7682 GB, free: 104.5 MB / 0.5294 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.0002423/1.582, allocations: 219.8 kB / 0.7684 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-05/1.582, allocations: 55.56 kB / 0.7685 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/1.582, allocations: 27.89 kB / 0.7685 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.582, allocations: 11.98 kB / 0.7685 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.582, allocations: 0 / 0.7685 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.582, allocations: 5.625 kB / 0.7685 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008327/1.583, allocations: 1.055 MB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.583, allocations: 3.938 kB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/1.583, allocations: 8 kB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.583, allocations: 6.625 kB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/1.583, allocations: 16 kB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.583, allocations: 0 / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.583, allocations: 0 / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/1.585, allocations: 1.187 MB / 0.7707 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/1.585, allocations: 164.2 kB / 0.7709 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/1.585, allocations: 0 / 0.7709 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/1.585, allocations: 12 kB / 0.7709 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/1.585, allocations: 15.98 kB / 0.7709 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/1.585, allocations: 16 kB / 0.7709 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.206e-05/1.585, allocations: 91.27 kB / 0.771 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.585, allocations: 6.625 kB / 0.771 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007814/1.586, allocations: 386.9 kB / 0.7714 GB, free: 101.2 MB / 0.5294 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.0006478/1.587, allocations: 0.5379 MB / 0.7719 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.588, allocations: 1.741 MB / 0.7736 GB, free: 98.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.588, allocations: 0 / 0.7736 GB, free: 98.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008405/1.589, allocations: 1.825 MB / 0.7754 GB, free: 96.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/1.591, allocations: 465.6 kB / 0.7759 GB, free: 96.19 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/1.593, allocations: 2.14 MB / 0.7779 GB, free: 94.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/1.593, allocations: 1.289 MB / 0.7792 GB, free: 92.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005313/1.594, allocations: 179.5 kB / 0.7794 GB, free: 92.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.594, allocations: 79.44 kB / 0.7795 GB, free: 92.46 MB / 0.5294 GB Notification: Performance of SimCode: time 4.4e-07/1.594, allocations: 0 / 0.7795 GB, free: 92.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.03195/1.626, allocations: 27.34 MB / 0.8062 GB, free: 65.25 MB / 0.5294 GB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1)