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.007547/0.007547, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001252/0.001252, allocations: 190.4 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1941/0.1941, allocations: 2.76 MB / 293.3 MB, free: 3.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 405.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3818, allocations: 50.23 MB / 456.2 MB, free: 21.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.08249/0.4643, allocations: 82.93 MB / 0.5265 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03768/0.502, allocations: 40.74 MB / 0.5662 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.504, allocations: 4 kB / 0.5662 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.5075, allocations: 1.235 MB / 0.5674 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02788/0.5354, allocations: 6.965 MB / 0.5743 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.5371, allocations: 266.1 kB / 0.5745 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.5397, allocations: 1.354 MB / 0.5758 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.5399, allocations: 107 kB / 0.5759 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.5404, allocations: 421.9 kB / 0.5763 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005777/0.5409, allocations: 0.4935 MB / 0.5768 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.541, allocations: 44 kB / 0.5769 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.447/1.988, allocations: 167 MB / 0.7399 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/1.988, allocations: 158 kB / 0.7401 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/1.989, allocations: 0.5959 MB / 0.7407 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01366/2.003, allocations: 2.774 MB / 0.7434 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/2.003, allocations: 4 kB / 0.7434 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/2.003, allocations: 0 / 0.7434 GB, free: 10.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.953e-05/2.003, allocations: 0 / 0.7434 GB, free: 10.21 MB / 0.545 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.003172/2.006, allocations: 1.579 MB / 0.7449 GB, free: 8.836 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/2.006, allocations: 8.031 kB / 0.7449 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/2.011, allocations: 1.213 MB / 0.7461 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/2.012, allocations: 286.9 kB / 0.7464 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/2.012, allocations: 73.94 kB / 0.7464 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/2.012, allocations: 90.31 kB / 0.7465 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/2.014, allocations: 1.701 MB / 0.7482 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/2.014, allocations: 4 kB / 0.7482 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/2.014, allocations: 38.88 kB / 0.7482 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/2.015, allocations: 72.3 kB / 0.7483 GB, free: 6.621 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/2.017, allocations: 1.607 MB / 0.7499 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007329/2.024, allocations: 8.568 MB / 0.7582 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009947/2.025, allocations: 0.7702 MB / 0.759 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/2.026, allocations: 0.7376 MB / 0.7597 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003065/2.029, allocations: 2.352 MB / 0.762 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/2.029, allocations: 34.56 kB / 0.762 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=182): time 2.635e-06/2.029, allocations: 0 / 0.762 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=182): time 0.003509/2.032, allocations: 1.509 MB / 0.7635 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/2.032, allocations: 83.53 kB / 0.7636 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/2.033, allocations: 137.2 kB / 0.7637 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/2.033, allocations: 32.33 kB / 0.7638 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/2.033, allocations: 391.2 kB / 0.7641 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004198/2.033, allocations: 0.5693 MB / 0.7647 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/2.034, allocations: 136 kB / 0.7648 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001249/2.034, allocations: 306 kB / 0.7651 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/2.034, allocations: 337.2 kB / 0.7654 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/2.035, allocations: 0.4989 MB / 0.7659 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/2.036, allocations: 1.014 MB / 0.7669 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/2.036, allocations: 4 kB / 0.7669 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001431/2.037, allocations: 1.045 MB / 0.7679 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/2.038, allocations: 7.938 kB / 0.7679 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/2.038, allocations: 7.938 kB / 0.7679 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/2.038, allocations: 4.406 kB / 0.7679 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/2.038, allocations: 39.08 kB / 0.768 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/2.038, allocations: 11.52 kB / 0.768 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/2.038, allocations: 78.81 kB / 0.7681 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/2.038, allocations: 23.98 kB / 0.7681 GB, free: 5.16 MB / 0.5606 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.000425/2.039, allocations: 228.8 kB / 0.7683 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/2.039, allocations: 51.19 kB / 0.7684 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.97e-05/2.039, allocations: 35.89 kB / 0.7684 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/2.039, allocations: 7.984 kB / 0.7684 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/2.039, allocations: 4 kB / 0.7684 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/2.039, allocations: 0 / 0.7684 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/2.04, allocations: 1.037 MB / 0.7694 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/2.04, allocations: 3.938 kB / 0.7694 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/2.04, allocations: 18.61 kB / 0.7694 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/2.04, allocations: 0 / 0.7694 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/2.04, allocations: 8 kB / 0.7694 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/2.04, allocations: 4 kB / 0.7695 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.04, allocations: 0 / 0.7695 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/2.042, allocations: 1.191 MB / 0.7706 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/2.042, allocations: 159.9 kB / 0.7708 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/2.042, allocations: 4 kB / 0.7708 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/2.042, allocations: 0 / 0.7708 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/2.042, allocations: 23.98 kB / 0.7708 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/2.042, allocations: 12 kB / 0.7708 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.125e-05/2.042, allocations: 95.27 kB / 0.7709 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/2.042, allocations: 4 kB / 0.7709 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001135/2.044, allocations: 386.6 kB / 0.7713 GB, free: 1.824 MB / 0.5606 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.000976/2.045, allocations: 0.5208 MB / 0.7718 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002282/2.047, allocations: 1.752 MB / 0.7735 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/2.047, allocations: 0 / 0.7735 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/2.048, allocations: 1.812 MB / 0.7753 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/2.051, allocations: 473.5 kB / 0.7757 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/2.055, allocations: 2.102 MB / 0.7778 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/2.056, allocations: 1.293 MB / 0.779 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007044/2.057, allocations: 179.5 kB / 0.7792 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/2.057, allocations: 79.44 kB / 0.7793 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/2.057, allocations: 0 / 0.7793 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of Templates: time 0.2562/2.313, allocations: 27.32 MB / 0.806 GB, free: 263.9 MB / 0.5919 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)