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.006037/0.006037, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001195/0.001195, allocations: 195 kB / 16.67 MB, free: 5.977 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01195/0.01195, allocations: 2.789 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 63.89 kB / 405.9 MB, free: 29.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1178, allocations: 50.24 MB / 456.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.3247/0.4426, allocations: 82.92 MB / 0.5265 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03515/0.4778, allocations: 40.73 MB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.4794, allocations: 5.656 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003971/0.4834, allocations: 1.246 MB / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02502/0.5085, allocations: 6.957 MB / 0.5742 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.5097, allocations: 274.2 kB / 0.5745 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.5124, allocations: 1.353 MB / 0.5758 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.5128, allocations: 110.8 kB / 0.5759 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.5139, allocations: 417.9 kB / 0.5763 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.515, allocations: 0.4974 MB / 0.5768 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.5152, allocations: 36 kB / 0.5769 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346/1.861, allocations: 167 MB / 0.7399 GB, free: 126 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/1.861, allocations: 152 kB / 0.7401 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/1.863, allocations: 0.5978 MB / 0.7406 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/1.878, allocations: 2.787 MB / 0.7434 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/1.878, allocations: 3.562 kB / 0.7434 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/1.878, allocations: 0 / 0.7434 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.916e-05/1.878, 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.002735/1.881, allocations: 1.62 MB / 0.745 GB, free: 123 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.881, allocations: 12.03 kB / 0.745 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004599/1.886, allocations: 1.216 MB / 0.7462 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/1.886, allocations: 282.9 kB / 0.7464 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/1.886, allocations: 72.75 kB / 0.7465 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/1.886, allocations: 100 kB / 0.7466 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/1.889, allocations: 1.707 MB / 0.7483 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/1.889, allocations: 0 / 0.7483 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/1.889, allocations: 36.88 kB / 0.7483 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.399e-05/1.889, allocations: 74 kB / 0.7484 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/1.891, allocations: 1.606 MB / 0.7499 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006522/1.898, allocations: 8.592 MB / 0.7583 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008894/1.898, allocations: 0.7627 MB / 0.7591 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006566/1.899, allocations: 0.7411 MB / 0.7598 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/1.901, allocations: 2.358 MB / 0.7621 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/1.901, allocations: 38.56 kB / 0.7621 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.775e-06/1.901, allocations: 0 / 0.7621 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002893/1.904, allocations: 1.517 MB / 0.7636 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/1.904, allocations: 79.83 kB / 0.7637 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/1.904, allocations: 130.1 kB / 0.7638 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/1.904, allocations: 33.14 kB / 0.7638 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/1.904, allocations: 404.6 kB / 0.7642 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/1.905, allocations: 0.5978 MB / 0.7648 GB, free: 108 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/1.905, allocations: 137.3 kB / 0.7649 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.827e-05/1.905, allocations: 310 kB / 0.7652 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/1.905, allocations: 341.7 kB / 0.7656 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/1.906, allocations: 0.4892 MB / 0.766 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00087/1.906, allocations: 1.021 MB / 0.767 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.907, allocations: 0 / 0.767 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001127/1.908, allocations: 1.054 MB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/1.908, allocations: 6.812 kB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.908, allocations: 7.984 kB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.908, allocations: 4 kB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/1.908, allocations: 26.53 kB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.908, allocations: 8.391 kB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/1.908, allocations: 93.77 kB / 0.7682 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/1.908, allocations: 20 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.0003094/1.909, allocations: 221.6 kB / 0.7684 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/1.909, allocations: 51.56 kB / 0.7685 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/1.909, allocations: 31.89 kB / 0.7685 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/1.909, allocations: 11.98 kB / 0.7685 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.909, allocations: 0 / 0.7685 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.909, allocations: 0 / 0.7685 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/1.91, allocations: 1.054 MB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/1.91, allocations: 3.938 kB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/1.91, allocations: 10.66 kB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.91, allocations: 4 kB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/1.91, allocations: 12 kB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.91, allocations: 4 kB / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.91, allocations: 0 / 0.7696 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/1.911, allocations: 1.191 MB / 0.7708 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.911, allocations: 160.3 kB / 0.7709 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/1.911, allocations: 12 kB / 0.7709 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/1.911, allocations: 2.625 kB / 0.7709 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/1.911, allocations: 23.98 kB / 0.7709 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/1.911, allocations: 16 kB / 0.771 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.076e-05/1.911, allocations: 91.27 kB / 0.771 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/1.912, allocations: 0 / 0.771 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009985/1.913, 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.0008186/1.913, allocations: 0.532 MB / 0.7719 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001397/1.915, allocations: 1.739 MB / 0.7736 GB, free: 98.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.915, allocations: 0 / 0.7736 GB, free: 98.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00091/1.916, allocations: 1.831 MB / 0.7754 GB, free: 96.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/1.918, allocations: 457.6 kB / 0.7759 GB, free: 96.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/1.92, allocations: 2.144 MB / 0.7779 GB, free: 94.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/1.921, allocations: 1.293 MB / 0.7792 GB, free: 92.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005998/1.922, allocations: 182.1 kB / 0.7794 GB, free: 92.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/1.922, allocations: 79.44 kB / 0.7795 GB, free: 92.48 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/1.922, allocations: 4 kB / 0.7795 GB, free: 92.47 MB / 0.5294 GB Notification: Performance of Templates: time 0.03643/1.958, allocations: 27.33 MB / 0.8062 GB, free: 65.28 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)