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.001417/0.001417, allocations: 118 kB / 16.42 MB, free: 6.492 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.001586/0.001586, allocations: 183.9 kB / 17.35 MB, free: 5.746 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01203/0.01203, allocations: 2.79 MB / 294 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.89 kB / 406.6 MB, free: 28.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07042/0.07164, allocations: 50.22 MB / 456.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2548/0.3265, allocations: 82.93 MB / 0.5271 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03131/0.3578, allocations: 40.73 MB / 0.5669 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.3589, allocations: 4.406 kB / 0.5669 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.3621, allocations: 1.245 MB / 0.5681 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01892/0.381, allocations: 6.961 MB / 0.5749 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008585/0.3819, allocations: 274.9 kB / 0.5752 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001929/0.3839, allocations: 1.351 MB / 0.5765 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.3841, allocations: 107.7 kB / 0.5766 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006093/0.3848, allocations: 417.9 kB / 0.577 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007826/0.3856, allocations: 0.4974 MB / 0.5775 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.3857, allocations: 40 kB / 0.5775 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.292/1.677, allocations: 167 MB / 0.7406 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001757/1.677, allocations: 151.1 kB / 0.7407 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007846/1.678, allocations: 0.5995 MB / 0.7413 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.011/1.689, allocations: 2.783 MB / 0.744 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.689, allocations: 0 / 0.744 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/1.689, allocations: 3.938 kB / 0.744 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.689, allocations: 0 / 0.744 GB, free: 124.1 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.00155/1.691, allocations: 1.626 MB / 0.7456 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/1.691, allocations: 8.031 kB / 0.7456 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004026/1.695, allocations: 1.214 MB / 0.7468 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/1.695, allocations: 283.4 kB / 0.7471 GB, free: 122 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/1.695, allocations: 78.56 kB / 0.7472 GB, free: 122 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/1.695, allocations: 88.06 kB / 0.7473 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/1.697, allocations: 1.704 MB / 0.7489 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.697, allocations: 4 kB / 0.7489 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/1.697, allocations: 38.94 kB / 0.749 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-05/1.697, allocations: 72.83 kB / 0.749 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/1.699, allocations: 1.604 MB / 0.7506 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/1.704, allocations: 8.588 MB / 0.759 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/1.704, allocations: 0.7731 MB / 0.7597 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006303/1.705, allocations: 0.7373 MB / 0.7605 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/1.707, allocations: 2.363 MB / 0.7628 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/1.707, allocations: 38.56 kB / 0.7628 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.813e-06/1.707, allocations: 0 / 0.7628 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002313/1.709, allocations: 1.518 MB / 0.7643 GB, free: 109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/1.709, allocations: 77.11 kB / 0.7644 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/1.709, allocations: 132.8 kB / 0.7645 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/1.709, allocations: 32.83 kB / 0.7645 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/1.709, allocations: 404.6 kB / 0.7649 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/1.709, allocations: 0.5936 MB / 0.7655 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/1.71, allocations: 141 kB / 0.7656 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.259e-05/1.71, allocations: 308.7 kB / 0.7659 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/1.71, allocations: 341.7 kB / 0.7662 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/1.71, allocations: 496.6 kB / 0.7667 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/1.711, allocations: 1.013 MB / 0.7677 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.711, allocations: 4 kB / 0.7677 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001119/1.712, allocations: 1.056 MB / 0.7687 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.713, allocations: 4 kB / 0.7687 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.713, allocations: 7.984 kB / 0.7687 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.713, allocations: 4 kB / 0.7687 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/1.713, allocations: 27.59 kB / 0.7688 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.713, allocations: 17.67 kB / 0.7688 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/1.713, allocations: 85.77 kB / 0.7689 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/1.713, allocations: 23.98 kB / 0.7689 GB, free: 104.4 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.0003075/1.713, allocations: 217.2 kB / 0.7691 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/1.713, allocations: 51.56 kB / 0.7692 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.6e-05/1.714, allocations: 39.83 kB / 0.7692 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.714, allocations: 3.984 kB / 0.7692 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.714, allocations: 4 kB / 0.7692 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/1.714, allocations: 162.9 kB / 0.7694 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/1.714, allocations: 0 / 0.7694 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/1.714, allocations: 8 kB / 0.7694 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/1.714, allocations: 19.98 kB / 0.7694 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001014/1.715, allocations: 1.165 MB / 0.7705 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001076/1.716, allocations: 1.257 MB / 0.7717 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000449/1.716, allocations: 0.5173 MB / 0.7723 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.66e-05/1.717, allocations: 99.64 kB / 0.7723 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of Backend: time 5.51e-07/1.717, allocations: 0 / 0.7723 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003666/1.72, allocations: 2.898 MB / 0.7752 GB, free: 98.1 MB / 0.5294 GB Notification: Performance of SimCode: time 0.00267/1.723, allocations: 3.682 MB / 0.7788 GB, free: 93.99 MB / 0.5294 GB Notification: Performance of Templates: time 0.04763/1.771, allocations: 42 MB / 0.8198 GB, free: 52 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)