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.001453/0.001453, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1319/0.1319, allocations: 2.761 MB / 293.1 MB, free: 3.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 354.4 MB, free: 4.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09128, allocations: 50.22 MB / 404.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2485/0.3398, allocations: 82.94 MB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03516/0.375, allocations: 40.72 MB / 0.5159 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.3764, allocations: 3.812 kB / 0.5159 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.3795, allocations: 1.238 MB / 0.5171 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02264/0.4022, allocations: 6.966 MB / 0.5239 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.4033, allocations: 269.6 kB / 0.5242 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.4053, allocations: 1.343 MB / 0.5255 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.4055, allocations: 106.8 kB / 0.5256 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.4061, allocations: 418.8 kB / 0.526 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006225/0.4068, allocations: 0.495 MB / 0.5265 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.4068, allocations: 37.84 kB / 0.5265 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.237/1.644, allocations: 165.6 MB / 0.6882 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/1.644, allocations: 153.7 kB / 0.6883 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001432/1.646, allocations: 0.5902 MB / 0.6889 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/1.66, allocations: 2.719 MB / 0.6916 GB, free: 8.602 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/1.66, allocations: 3.984 kB / 0.6916 GB, free: 8.598 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.425e-06/1.66, allocations: 0 / 0.6916 GB, free: 8.598 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.476e-05/1.66, allocations: 0 / 0.6916 GB, free: 8.598 MB / 462.1 MB 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.003159/1.664, allocations: 1.578 MB / 0.6931 GB, free: 7.246 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.664, allocations: 8.031 kB / 0.6931 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005165/1.669, allocations: 1.216 MB / 0.6943 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/1.669, allocations: 284.4 kB / 0.6946 GB, free: 6.195 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/1.669, allocations: 78.62 kB / 0.6947 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/1.67, allocations: 91.62 kB / 0.6947 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/1.672, allocations: 1.703 MB / 0.6964 GB, free: 5.086 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/1.672, allocations: 0 / 0.6964 GB, free: 5.086 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/1.672, allocations: 42.62 kB / 0.6964 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.636e-05/1.672, allocations: 70.38 kB / 0.6965 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/1.674, allocations: 1.609 MB / 0.6981 GB, free: 4.156 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006695/1.681, allocations: 8.645 MB / 0.7065 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008759/1.682, allocations: 0.7623 MB / 0.7073 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/1.682, allocations: 0.7398 MB / 0.708 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002161/1.684, allocations: 2.356 MB / 0.7103 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/1.684, allocations: 33.56 kB / 0.7103 GB, free: 8.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=182): time 5.55e-06/1.685, allocations: 0 / 0.7103 GB, free: 8.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=182): time 0.00295/1.687, allocations: 1.516 MB / 0.7118 GB, free: 7.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/1.688, allocations: 81.11 kB / 0.7119 GB, free: 7.723 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/1.688, allocations: 141.3 kB / 0.712 GB, free: 7.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/1.688, allocations: 29.7 kB / 0.712 GB, free: 7.555 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/1.688, allocations: 390.2 kB / 0.7124 GB, free: 7.191 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/1.688, allocations: 0.5623 MB / 0.713 GB, free: 6.695 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/1.688, allocations: 137 kB / 0.7131 GB, free: 6.594 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/1.689, allocations: 306 kB / 0.7134 GB, free: 6.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/1.689, allocations: 344.7 kB / 0.7137 GB, free: 6.074 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/1.69, allocations: 0.4959 MB / 0.7142 GB, free: 5.535 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.691, allocations: 1.014 MB / 0.7152 GB, free: 4.488 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.691, allocations: 4 kB / 0.7152 GB, free: 4.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001436/1.692, allocations: 1.053 MB / 0.7162 GB, free: 3.438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.692, allocations: 7.906 kB / 0.7162 GB, free: 3.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.692, allocations: 4 kB / 0.7162 GB, free: 3.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.692, allocations: 4 kB / 0.7162 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/1.692, allocations: 31.36 kB / 0.7163 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.692, allocations: 11.28 kB / 0.7163 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/1.693, allocations: 86.81 kB / 0.7164 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/1.693, allocations: 20 kB / 0.7164 GB, free: 3.281 MB / 478.1 MB 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.0003446/1.693, allocations: 227.6 kB / 0.7166 GB, free: 3.055 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/1.693, allocations: 51.19 kB / 0.7167 GB, free: 3.004 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.562e-05/1.693, allocations: 35.88 kB / 0.7167 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.693, allocations: 8 kB / 0.7167 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.693, allocations: 0 / 0.7167 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.693, allocations: 3.984 kB / 0.7167 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/1.695, allocations: 1.043 MB / 0.7177 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.695, allocations: 3.938 kB / 0.7177 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/1.695, allocations: 12 kB / 0.7177 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.695, allocations: 0 / 0.7177 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/1.695, allocations: 12 kB / 0.7177 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.695, allocations: 6.719 kB / 0.7177 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.695, allocations: 3.984 kB / 0.7178 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/1.696, allocations: 1.177 MB / 0.7189 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/1.696, allocations: 155.9 kB / 0.7191 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/1.696, allocations: 0 / 0.7191 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/1.697, allocations: 8 kB / 0.7191 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/1.697, allocations: 22.98 kB / 0.7191 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/1.697, allocations: 16 kB / 0.7191 GB, free: 436 kB / 478.1 MB Notification: Performance of sorting global known variables: time 6.315e-05/1.697, allocations: 99.2 kB / 0.7192 GB, free: 336 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.697, allocations: 0 / 0.7192 GB, free: 336 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009978/1.698, allocations: 386.7 kB / 0.7196 GB, free: 15.95 MB / 494.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: 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.0008591/1.699, allocations: 0.5293 MB / 0.7201 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001927/1.701, allocations: 1.754 MB / 0.7218 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.701, allocations: 0 / 0.7218 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/1.702, allocations: 1.828 MB / 0.7236 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/1.704, allocations: 469.4 kB / 0.724 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/1.708, allocations: 2.117 MB / 0.7261 GB, free: 8.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.709, allocations: 1.293 MB / 0.7274 GB, free: 7.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006976/1.709, allocations: 175.5 kB / 0.7275 GB, free: 7.328 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/1.709, allocations: 87.38 kB / 0.7276 GB, free: 7.242 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/1.709, allocations: 0 / 0.7276 GB, free: 7.242 MB / 494.1 MB Notification: Performance of Templates: time 0.04697/1.756, allocations: 26.62 MB / 0.7536 GB, free: 12.73 MB / 0.5137 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)