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.007048/0.007048, allocations: 101.6 kB / 15.73 MB, free: 5.586 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.001496/0.001496, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.327/1.327, 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.0117/0.0117, allocations: 2.773 MB / 293.3 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 55.91 kB / 405.9 MB, free: 29.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09546/0.0967, allocations: 50.24 MB / 456.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3249/0.4217, allocations: 82.93 MB / 0.5265 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03774/0.4595, allocations: 40.73 MB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.4612, allocations: 5.469 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003923/0.4652, allocations: 1.245 MB / 0.5674 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02516/0.4904, allocations: 6.957 MB / 0.5742 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.492, allocations: 282.2 kB / 0.5745 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.494, allocations: 1.343 MB / 0.5758 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.4942, allocations: 111.9 kB / 0.5759 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.4946, allocations: 417.9 kB / 0.5763 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005268/0.4951, allocations: 0.4935 MB / 0.5768 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.4952, allocations: 43.98 kB / 0.5769 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.675/2.17, allocations: 169.1 MB / 0.742 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001757/2.17, allocations: 155.2 kB / 0.7421 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009779/2.171, allocations: 0.5929 MB / 0.7427 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01159/2.183, allocations: 2.774 MB / 0.7454 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/2.183, allocations: 0 / 0.7454 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/2.183, allocations: 2.625 kB / 0.7454 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.554e-05/2.183, allocations: 0 / 0.7454 GB, free: 122.5 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.002148/2.185, allocations: 1.585 MB / 0.747 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/2.185, allocations: 12.03 kB / 0.747 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004478/2.189, allocations: 1.21 MB / 0.7482 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/2.19, allocations: 286.3 kB / 0.7484 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.273e-05/2.19, allocations: 74.25 kB / 0.7485 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/2.19, allocations: 90.25 kB / 0.7486 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/2.192, allocations: 1.707 MB / 0.7503 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/2.192, allocations: 0 / 0.7503 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/2.192, allocations: 37.88 kB / 0.7503 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.363e-05/2.192, allocations: 74 kB / 0.7504 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/2.194, allocations: 1.606 MB / 0.7519 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006602/2.201, allocations: 8.574 MB / 0.7603 GB, free: 111 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008582/2.202, allocations: 0.7689 MB / 0.761 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/2.202, allocations: 0.7358 MB / 0.7618 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001873/2.204, allocations: 2.354 MB / 0.7641 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/2.204, allocations: 42.03 kB / 0.7641 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.385e-06/2.204, allocations: 0 / 0.7641 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01064/2.215, allocations: 1.507 MB / 0.7656 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/2.215, allocations: 81.11 kB / 0.7657 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/2.215, allocations: 134.5 kB / 0.7658 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/2.215, allocations: 28.39 kB / 0.7658 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/2.215, allocations: 398.8 kB / 0.7662 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/2.216, allocations: 0.5665 MB / 0.7667 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/2.216, allocations: 142.3 kB / 0.7669 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.778e-05/2.216, allocations: 306 kB / 0.7672 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/2.216, allocations: 339.4 kB / 0.7675 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/2.217, allocations: 0.4915 MB / 0.768 GB, free: 105 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/2.217, allocations: 1.018 MB / 0.769 GB, free: 104 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/2.218, allocations: 4 kB / 0.769 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001257/2.219, allocations: 1.051 MB / 0.77 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/2.219, allocations: 8 kB / 0.77 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/2.219, allocations: 4 kB / 0.77 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/2.219, allocations: 4.406 kB / 0.77 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/2.219, allocations: 34.23 kB / 0.77 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/2.219, allocations: 4 kB / 0.7701 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/2.219, allocations: 82.81 kB / 0.7701 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/2.219, allocations: 22.06 kB / 0.7702 GB, free: 102.8 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.0003765/2.22, allocations: 223.3 kB / 0.7704 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/2.22, allocations: 51.19 kB / 0.7704 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/2.22, allocations: 31.89 kB / 0.7704 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/2.22, allocations: 3.984 kB / 0.7704 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/2.22, allocations: 10.62 kB / 0.7705 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/2.22, allocations: 2.906 kB / 0.7705 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/2.221, allocations: 1.037 MB / 0.7715 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/2.221, allocations: 3.938 kB / 0.7715 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/2.221, allocations: 6.625 kB / 0.7715 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/2.221, allocations: 7.984 kB / 0.7715 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/2.221, allocations: 12 kB / 0.7715 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/2.221, allocations: 0 / 0.7715 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/2.221, allocations: 4 kB / 0.7715 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/2.222, allocations: 1.185 MB / 0.7727 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/2.223, allocations: 159.8 kB / 0.7728 GB, free: 99.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/2.223, allocations: 8 kB / 0.7728 GB, free: 99.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/2.223, allocations: 0 / 0.7728 GB, free: 99.94 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/2.223, allocations: 23.92 kB / 0.7728 GB, free: 99.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/2.223, allocations: 23.98 kB / 0.7729 GB, free: 99.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.726e-05/2.223, allocations: 98.27 kB / 0.773 GB, free: 99.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/2.223, allocations: 0 / 0.773 GB, free: 99.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009554/2.224, allocations: 382.7 kB / 0.7733 GB, free: 99.42 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.0008206/2.225, allocations: 0.5329 MB / 0.7738 GB, free: 98.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00135/2.226, allocations: 1.744 MB / 0.7756 GB, free: 97.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/2.226, allocations: 0 / 0.7756 GB, free: 97.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008978/2.227, allocations: 1.814 MB / 0.7773 GB, free: 94.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/2.229, allocations: 473.6 kB / 0.7778 GB, free: 94.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/2.232, allocations: 2.095 MB / 0.7798 GB, free: 92.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/2.232, allocations: 1.297 MB / 0.7811 GB, free: 90.99 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006161/2.233, allocations: 181.9 kB / 0.7813 GB, free: 90.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/2.233, allocations: 79.44 kB / 0.7813 GB, free: 90.74 MB / 0.5294 GB Notification: Performance of SimCode: time 3.7e-07/2.233, allocations: 0 / 0.7813 GB, free: 90.74 MB / 0.5294 GB Notification: Performance of Templates: time 0.03851/2.272, allocations: 27.42 MB / 0.8081 GB, free: 63.74 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)