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.001123/0.001123, allocations: 109 kB / 16.42 MB, free: 6.52 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.001132/0.001132, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01149/0.01149, allocations: 2.778 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.84 kB / 406.6 MB, free: 29.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.068/0.06922, allocations: 50.23 MB / 456.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.244/0.3133, allocations: 82.93 MB / 0.5271 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02876/0.3421, allocations: 40.73 MB / 0.5669 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/0.343, allocations: 5.031 kB / 0.5669 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.3458, allocations: 1.246 MB / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01671/0.3626, allocations: 6.961 MB / 0.5749 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.3633, allocations: 271 kB / 0.5752 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.3649, allocations: 1.348 MB / 0.5765 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.3651, allocations: 106.6 kB / 0.5766 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005223/0.3656, allocations: 417.9 kB / 0.577 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006258/0.3663, allocations: 0.4974 MB / 0.5775 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/0.3663, allocations: 40 kB / 0.5775 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.254/1.621, allocations: 167 MB / 0.7406 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/1.621, allocations: 150.8 kB / 0.7407 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009647/1.622, allocations: 0.5952 MB / 0.7413 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009989/1.632, allocations: 2.779 MB / 0.744 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.632, allocations: 0 / 0.744 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/1.632, allocations: 0 / 0.744 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.562e-05/1.632, allocations: 0 / 0.744 GB, free: 124.2 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.001855/1.634, allocations: 1.582 MB / 0.7456 GB, free: 123 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/1.634, allocations: 8.031 kB / 0.7456 GB, free: 123 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/1.638, allocations: 1.21 MB / 0.7468 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/1.638, allocations: 286.9 kB / 0.747 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.84e-05/1.638, allocations: 72.94 kB / 0.7471 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/1.638, allocations: 95.75 kB / 0.7472 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/1.64, allocations: 1.703 MB / 0.7489 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/1.64, allocations: 0 / 0.7489 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/1.64, allocations: 36.88 kB / 0.7489 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/1.64, allocations: 72.72 kB / 0.749 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/1.642, allocations: 1.608 MB / 0.7505 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004508/1.647, allocations: 8.583 MB / 0.7589 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/1.648, allocations: 0.7638 MB / 0.7597 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/1.648, allocations: 0.74 MB / 0.7604 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/1.65, allocations: 2.349 MB / 0.7627 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/1.65, allocations: 44.25 kB / 0.7627 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.814e-06/1.65, allocations: 0 / 0.7627 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002267/1.652, allocations: 1.511 MB / 0.7642 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/1.652, allocations: 81.11 kB / 0.7643 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/1.652, allocations: 133.3 kB / 0.7644 GB, free: 109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/1.652, allocations: 28.45 kB / 0.7644 GB, free: 109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/1.652, allocations: 394.7 kB / 0.7648 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/1.653, allocations: 0.5671 MB / 0.7654 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/1.653, allocations: 141.6 kB / 0.7655 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.095e-05/1.653, allocations: 312.6 kB / 0.7658 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/1.653, allocations: 339.5 kB / 0.7661 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/1.654, allocations: 497.5 kB / 0.7666 GB, free: 107 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/1.655, allocations: 1.02 MB / 0.7676 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.655, allocations: 0 / 0.7676 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001096/1.656, allocations: 1.052 MB / 0.7686 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.656, allocations: 8 kB / 0.7686 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.656, allocations: 4 kB / 0.7686 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.656, allocations: 4 kB / 0.7686 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/1.656, allocations: 30.98 kB / 0.7687 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.656, allocations: 7.312 kB / 0.7687 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/1.656, allocations: 82.81 kB / 0.7687 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/1.656, allocations: 24 kB / 0.7688 GB, free: 104.7 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.000251/1.656, allocations: 219.4 kB / 0.769 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.893e-05/1.656, allocations: 53.81 kB / 0.769 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.833e-05/1.657, allocations: 35.88 kB / 0.7691 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.657, allocations: 4 kB / 0.7691 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.657, allocations: 0 / 0.7691 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/1.657, allocations: 152 kB / 0.7692 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/1.657, allocations: 4 kB / 0.7692 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/1.657, allocations: 6.719 kB / 0.7692 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/1.657, allocations: 27.27 kB / 0.7692 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009953/1.658, allocations: 1.159 MB / 0.7704 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00104/1.659, allocations: 1.253 MB / 0.7716 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004119/1.66, allocations: 0.5136 MB / 0.7721 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.433e-05/1.66, allocations: 97.89 kB / 0.7722 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of Backend: time 5.11e-07/1.66, allocations: 4 kB / 0.7722 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003175/1.663, allocations: 2.904 MB / 0.775 GB, free: 98.46 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002372/1.665, allocations: 3.627 MB / 0.7786 GB, free: 94.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.04666/1.712, allocations: 42 MB / 0.8196 GB, free: 52.42 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)