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.001381/0.001381, allocations: 105.7 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.001418/0.001418, 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01258/0.01258, allocations: 2.777 MB / 293.8 MB, free: 12.04 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 64.14 kB / 355.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1984, allocations: 50.23 MB / 405.3 MB, free: 32.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.06566/0.2641, allocations: 82.93 MB / 488.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2121/0.4763, allocations: 40.72 MB / 0.5166 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008778/0.4773, allocations: 7.156 kB / 0.5166 GB, free: 428 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.4798, allocations: 1.24 MB / 0.5178 GB, free: 420 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01574/0.4955, allocations: 6.965 MB / 0.5246 GB, free: 244 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.4964, allocations: 272.5 kB / 0.5248 GB, free: 236 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.498, allocations: 1.337 MB / 0.5262 GB, free: 236 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.4983, allocations: 111.8 kB / 0.5263 GB, free: 180 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007002/0.499, allocations: 420.2 kB / 0.5267 GB, free: 180 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.4995, allocations: 0.494 MB / 0.5271 GB, free: 180 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.4996, allocations: 38.84 kB / 0.5272 GB, free: 180 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046/1.545, allocations: 165.6 MB / 0.6889 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/1.545, allocations: 154.1 kB / 0.689 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/1.547, allocations: 0.6028 MB / 0.6896 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/1.559, allocations: 2.714 MB / 0.6923 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.559, allocations: 0 / 0.6923 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/1.559, allocations: 0 / 0.6923 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.351e-05/1.559, allocations: 0 / 0.6923 GB, free: 3.602 MB / 0.5137 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.001794/1.561, allocations: 1.583 MB / 0.6938 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/1.561, allocations: 8.031 kB / 0.6938 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/1.565, allocations: 1.212 MB / 0.695 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/1.566, allocations: 287.4 kB / 0.6953 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.566, allocations: 73.44 kB / 0.6953 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/1.566, allocations: 93.44 kB / 0.6954 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.169/1.735, allocations: 1.697 MB / 0.6971 GB, free: 247.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/1.735, allocations: 0.6562 kB / 0.6971 GB, free: 247.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/1.735, allocations: 38.72 kB / 0.6971 GB, free: 247.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-05/1.735, allocations: 72.38 kB / 0.6972 GB, free: 247.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/1.738, allocations: 1.604 MB / 0.6988 GB, free: 247.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00554/1.743, allocations: 8.634 MB / 0.7072 GB, free: 239.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/1.744, allocations: 0.7701 MB / 0.7079 GB, free: 239 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/1.745, allocations: 0.7373 MB / 0.7087 GB, free: 238.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002134/1.747, allocations: 2.352 MB / 0.711 GB, free: 236.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/1.747, allocations: 38.47 kB / 0.711 GB, free: 236.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 3.327e-06/1.747, allocations: 0 / 0.711 GB, free: 236.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=182): time 0.002575/1.75, allocations: 1.52 MB / 0.7125 GB, free: 235.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/1.75, allocations: 77.11 kB / 0.7126 GB, free: 235.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/1.75, allocations: 136.3 kB / 0.7127 GB, free: 235.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/1.75, allocations: 25.7 kB / 0.7127 GB, free: 235.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/1.75, allocations: 390 kB / 0.7131 GB, free: 235 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/1.75, allocations: 0.5739 MB / 0.7136 GB, free: 234.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/1.751, allocations: 143.7 kB / 0.7138 GB, free: 234.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.515e-05/1.751, allocations: 309.5 kB / 0.7141 GB, free: 234.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/1.751, allocations: 335.6 kB / 0.7144 GB, free: 234 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/1.751, allocations: 493.8 kB / 0.7149 GB, free: 233.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/1.752, allocations: 1.026 MB / 0.7159 GB, free: 233 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.752, allocations: 0 / 0.7159 GB, free: 233 MB / 0.5137 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001159/1.753, allocations: 1.048 MB / 0.7169 GB, free: 232.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.753, allocations: 7 kB / 0.7169 GB, free: 232.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.753, allocations: 3.5 kB / 0.7169 GB, free: 232.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.753, allocations: 3.5 kB / 0.7169 GB, free: 232.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/1.754, allocations: 36.8 kB / 0.7169 GB, free: 232.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/1.754, allocations: 3.719 kB / 0.7169 GB, free: 232.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/1.754, allocations: 84.91 kB / 0.717 GB, free: 232.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/1.754, allocations: 23.64 kB / 0.717 GB, free: 232.3 MB / 0.5137 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.0003097/1.754, allocations: 227.8 kB / 0.7173 GB, free: 232.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/1.754, allocations: 44.09 kB / 0.7173 GB, free: 232.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.785e-05/1.754, allocations: 34.64 kB / 0.7173 GB, free: 232.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/1.755, allocations: 7.297 kB / 0.7173 GB, free: 232.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.755, allocations: 4.062 kB / 0.7173 GB, free: 232.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.755, allocations: 3.516 kB / 0.7174 GB, free: 232.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/1.756, allocations: 1.045 MB / 0.7184 GB, free: 231.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.756, allocations: 0 / 0.7184 GB, free: 231.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/1.756, allocations: 11.67 kB / 0.7184 GB, free: 231.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.756, allocations: 1.531 kB / 0.7184 GB, free: 231.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/1.756, allocations: 18.31 kB / 0.7184 GB, free: 231.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.756, allocations: 5.125 kB / 0.7184 GB, free: 231.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.756, allocations: 0 / 0.7184 GB, free: 231.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.757, allocations: 1.19 MB / 0.7196 GB, free: 230.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.606e-05/1.757, allocations: 156 kB / 0.7197 GB, free: 230.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/1.757, allocations: 0 / 0.7197 GB, free: 230.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/1.757, allocations: 7.938 kB / 0.7197 GB, free: 230.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/1.757, allocations: 23.98 kB / 0.7197 GB, free: 230.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/1.757, allocations: 12 kB / 0.7198 GB, free: 230.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.785e-05/1.757, allocations: 91.89 kB / 0.7198 GB, free: 230 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/1.757, allocations: 0.75 kB / 0.7198 GB, free: 230 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009014/1.758, allocations: 379.2 kB / 0.7202 GB, free: 229.6 MB / 0.5137 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.000758/1.759, allocations: 0.5336 MB / 0.7207 GB, free: 229.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001422/1.76, allocations: 1.751 MB / 0.7224 GB, free: 227.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.76, allocations: 0 / 0.7224 GB, free: 227.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008667/1.761, allocations: 1.821 MB / 0.7242 GB, free: 225.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/1.764, allocations: 478.8 kB / 0.7247 GB, free: 224.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/1.766, allocations: 2.261 MB / 0.7269 GB, free: 222.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/1.767, allocations: 1.299 MB / 0.7282 GB, free: 221.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/1.767, allocations: 79.44 kB / 0.7282 GB, free: 221.2 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/1.767, allocations: 0 / 0.7282 GB, free: 221.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.02255/1.79, allocations: 18.29 MB / 0.7461 GB, free: 204.2 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)