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.001082/0.001082, allocations: 110 kB / 16.41 MB, free: 6.477 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.001125/0.001125, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.3/1.3, allocations: 222.9 MB / 241 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.01284/0.01284, allocations: 2.78 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 71.89 kB / 406.6 MB, free: 29.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.08728, allocations: 50.24 MB / 456.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2986/0.3859, allocations: 82.92 MB / 0.5271 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03097/0.4169, allocations: 40.73 MB / 0.5669 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.4184, allocations: 4.688 kB / 0.5669 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003265/0.4217, allocations: 1.242 MB / 0.5681 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02208/0.4438, allocations: 6.962 MB / 0.5749 GB, free: 9.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.445, allocations: 274.1 kB / 0.5752 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002239/0.4473, allocations: 1.349 MB / 0.5765 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.4475, allocations: 108.3 kB / 0.5766 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005288/0.448, allocations: 425.8 kB / 0.577 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006259/0.4487, allocations: 0.4935 MB / 0.5775 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.4487, allocations: 36 kB / 0.5775 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.277/1.726, allocations: 167 MB / 0.7406 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/1.726, allocations: 155.8 kB / 0.7407 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/1.727, allocations: 0.5951 MB / 0.7413 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01289/1.74, allocations: 2.771 MB / 0.744 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.74, allocations: 3.375 kB / 0.744 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/1.74, allocations: 0 / 0.744 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.727e-05/1.74, allocations: 0 / 0.744 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.002368/1.742, allocations: 1.582 MB / 0.7456 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.743, allocations: 12.03 kB / 0.7456 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/1.747, allocations: 1.214 MB / 0.7468 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/1.748, allocations: 276.7 kB / 0.747 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/1.748, allocations: 77.81 kB / 0.7471 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/1.748, allocations: 89.75 kB / 0.7472 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/1.751, allocations: 1.701 MB / 0.7488 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/1.751, allocations: 0 / 0.7488 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/1.751, allocations: 41 kB / 0.7489 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.551e-05/1.751, allocations: 70.56 kB / 0.749 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/1.752, allocations: 1.611 MB / 0.7505 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005483/1.758, allocations: 8.579 MB / 0.7589 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/1.759, allocations: 0.7662 MB / 0.7596 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006746/1.76, allocations: 0.7359 MB / 0.7604 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/1.761, allocations: 2.362 MB / 0.7627 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/1.762, allocations: 34.56 kB / 0.7627 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.635e-06/1.762, allocations: 3.938 kB / 0.7627 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002806/1.764, allocations: 1.505 MB / 0.7642 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.764, allocations: 85.09 kB / 0.7643 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/1.765, allocations: 136.4 kB / 0.7644 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/1.765, allocations: 29.69 kB / 0.7644 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/1.765, allocations: 400.5 kB / 0.7648 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/1.765, allocations: 0.5697 MB / 0.7654 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/1.765, allocations: 137.1 kB / 0.7655 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.786e-05/1.765, allocations: 306 kB / 0.7658 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/1.766, allocations: 343 kB / 0.7661 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/1.766, allocations: 498.1 kB / 0.7666 GB, free: 107 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008673/1.767, allocations: 1.019 MB / 0.7676 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.767, allocations: 0 / 0.7676 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001174/1.768, allocations: 1.046 MB / 0.7686 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.768, allocations: 11.98 kB / 0.7686 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.768, allocations: 4.406 kB / 0.7686 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.768, allocations: 8 kB / 0.7686 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/1.768, allocations: 26.72 kB / 0.7686 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.768, allocations: 10.89 kB / 0.7687 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/1.769, allocations: 85.44 kB / 0.7687 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/1.769, allocations: 20 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.0003351/1.769, allocations: 219.3 kB / 0.769 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.769, allocations: 62.08 kB / 0.769 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/1.769, allocations: 35.88 kB / 0.7691 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.769, allocations: 4 kB / 0.7691 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.769, allocations: 4 kB / 0.7691 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.769, allocations: 0 / 0.7691 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/1.77, allocations: 1.041 MB / 0.7701 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.77, allocations: 3.938 kB / 0.7701 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/1.77, allocations: 4 kB / 0.7701 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.77, allocations: 4 kB / 0.7701 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/1.77, allocations: 12 kB / 0.7701 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.77, allocations: 4.062 kB / 0.7701 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.771, allocations: 4 kB / 0.7701 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/1.772, allocations: 1.187 MB / 0.7713 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/1.772, allocations: 154.5 kB / 0.7714 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/1.772, allocations: 8 kB / 0.7714 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/1.773, allocations: 0 / 0.7714 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/1.773, allocations: 19.98 kB / 0.7715 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/1.773, allocations: 16 kB / 0.7715 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.108e-05/1.773, allocations: 103.2 kB / 0.7716 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/1.773, allocations: 0 / 0.7716 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009718/1.774, allocations: 382.6 kB / 0.7719 GB, free: 101.4 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.0007944/1.774, allocations: 0.5303 MB / 0.7724 GB, free: 101 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001396/1.776, allocations: 1.743 MB / 0.7741 GB, free: 99.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.776, allocations: 0 / 0.7741 GB, free: 99.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009198/1.777, allocations: 1.818 MB / 0.7759 GB, free: 96.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.779, allocations: 477.5 kB / 0.7764 GB, free: 96.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/1.782, allocations: 2.24 MB / 0.7786 GB, free: 94.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/1.783, allocations: 1.289 MB / 0.7798 GB, free: 92.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.783, allocations: 87.42 kB / 0.7799 GB, free: 92.75 MB / 0.5294 GB Notification: Performance of SimCode: time 8.51e-07/1.783, allocations: 0 / 0.7799 GB, free: 92.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.02389/1.807, allocations: 18.43 MB / 0.7979 GB, free: 74.61 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)