Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005686/0.005686, allocations: 97.42 kB / 15.73 MB, free: 6.055 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.001142/0.001142, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.356/1.356, allocations: 222.9 MB / 240.4 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.01152/0.01152, allocations: 2.777 MB / 293.3 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 405.9 MB, free: 29.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09421, allocations: 50.24 MB / 456.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3216/0.4159, allocations: 82.92 MB / 0.5265 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03121/0.4471, allocations: 40.72 MB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.4483, allocations: 9.625 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.4515, allocations: 1.239 MB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02316/0.4747, allocations: 6.959 MB / 0.5742 GB, free: 9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.4766, allocations: 274.4 kB / 0.5745 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002697/0.4793, allocations: 1.351 MB / 0.5758 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.4796, allocations: 118.4 kB / 0.5759 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007687/0.4804, allocations: 413.9 kB / 0.5763 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008186/0.4812, allocations: 0.5013 MB / 0.5768 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.723e-05/0.4813, allocations: 36 kB / 0.5769 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.515/1.996, allocations: 169.1 MB / 0.742 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/1.996, allocations: 153.3 kB / 0.7421 GB, free: 124 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/1.997, allocations: 0.596 MB / 0.7427 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/2.009, allocations: 2.781 MB / 0.7454 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/2.009, allocations: 0 / 0.7454 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.203e-06/2.009, allocations: 4 kB / 0.7454 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.163e-05/2.009, allocations: 0 / 0.7454 GB, free: 122.4 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.001802/2.011, allocations: 1.63 MB / 0.747 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/2.011, allocations: 8.031 kB / 0.747 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/2.015, allocations: 1.215 MB / 0.7482 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/2.015, allocations: 280.4 kB / 0.7485 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.254e-05/2.015, allocations: 73.88 kB / 0.7486 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/2.015, allocations: 91.69 kB / 0.7486 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/2.017, allocations: 1.705 MB / 0.7503 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/2.017, allocations: 0 / 0.7503 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/2.018, allocations: 42.27 kB / 0.7503 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/2.018, allocations: 68.2 kB / 0.7504 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/2.019, allocations: 1.608 MB / 0.752 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/2.024, allocations: 8.593 MB / 0.7604 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/2.025, allocations: 0.7576 MB / 0.7611 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/2.025, allocations: 0.7357 MB / 0.7618 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/2.027, allocations: 2.367 MB / 0.7641 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/2.027, allocations: 34.56 kB / 0.7642 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.244e-06/2.027, allocations: 0 / 0.7642 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.0105/2.038, allocations: 1.516 MB / 0.7657 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/2.038, allocations: 85.11 kB / 0.7657 GB, free: 107 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/2.038, allocations: 133.8 kB / 0.7659 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/2.038, allocations: 29.36 kB / 0.7659 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/2.038, allocations: 405.6 kB / 0.7663 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/2.038, allocations: 0.601 MB / 0.7669 GB, free: 106 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/2.039, allocations: 138.7 kB / 0.767 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.779e-05/2.039, allocations: 310 kB / 0.7673 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/2.039, allocations: 337.9 kB / 0.7676 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/2.039, allocations: 496.8 kB / 0.7681 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/2.04, allocations: 1.023 MB / 0.7691 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/2.04, allocations: 0 / 0.7691 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001187/2.042, allocations: 1.055 MB / 0.7701 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/2.042, allocations: 8 kB / 0.7701 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/2.042, allocations: 4 kB / 0.7701 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/2.042, allocations: 4 kB / 0.7701 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/2.042, allocations: 36.86 kB / 0.7702 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/2.042, allocations: 7.984 kB / 0.7702 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/2.042, allocations: 81.77 kB / 0.7703 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/2.042, allocations: 24.41 kB / 0.7703 GB, free: 102.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.0003212/2.042, allocations: 230.6 kB / 0.7705 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/2.043, allocations: 55.56 kB / 0.7706 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-05/2.043, allocations: 27.89 kB / 0.7706 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/2.043, allocations: 11.98 kB / 0.7706 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/2.043, allocations: 0 / 0.7706 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/2.043, allocations: 4 kB / 0.7706 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/2.044, allocations: 1.05 MB / 0.7716 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/2.044, allocations: 7.938 kB / 0.7716 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/2.044, allocations: 8 kB / 0.7716 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/2.044, allocations: 0 / 0.7716 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/2.044, allocations: 16 kB / 0.7716 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/2.044, allocations: 3.984 kB / 0.7717 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/2.044, allocations: 2.812 kB / 0.7717 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/2.045, allocations: 1.189 MB / 0.7728 GB, free: 99.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/2.045, allocations: 160.2 kB / 0.773 GB, free: 99.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/2.045, allocations: 10.62 kB / 0.773 GB, free: 99.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/2.045, allocations: 4 kB / 0.773 GB, free: 99.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/2.045, allocations: 18.7 kB / 0.773 GB, free: 99.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/2.045, allocations: 16 kB / 0.773 GB, free: 99.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.699e-05/2.045, allocations: 95.27 kB / 0.7731 GB, free: 99.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/2.045, allocations: 0 / 0.7731 GB, free: 99.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009386/2.046, allocations: 386.9 kB / 0.7735 GB, free: 99.08 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.001362/2.048, allocations: 0.5385 MB / 0.774 GB, free: 98.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001365/2.049, allocations: 1.731 MB / 0.7757 GB, free: 96.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/2.049, allocations: 0 / 0.7757 GB, free: 96.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008945/2.05, allocations: 1.83 MB / 0.7775 GB, free: 94.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/2.052, allocations: 477.5 kB / 0.7779 GB, free: 94.08 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/2.055, allocations: 2.138 MB / 0.78 GB, free: 91.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/2.056, allocations: 1.293 MB / 0.7813 GB, free: 90.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006137/2.056, allocations: 175.5 kB / 0.7815 GB, free: 90.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/2.056, allocations: 75.44 kB / 0.7815 GB, free: 90.35 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/2.056, allocations: 0 / 0.7815 GB, free: 90.35 MB / 0.5294 GB Notification: Performance of Templates: time 0.03598/2.092, allocations: 27.44 MB / 0.8083 GB, free: 63.34 MB / 0.5294 GB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1)