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.0009556/0.0009558, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001067/0.001067, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1323/0.1323, allocations: 2.773 MB / 293.9 MB, free: 4.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003381, allocations: 8 kB / 355.6 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1155, allocations: 51.25 MB / 406.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3288/0.4443, allocations: 76.27 MB / 483.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03976/0.4842, allocations: 37.42 MB / 0.5084 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.4862, allocations: 4.031 kB / 0.5084 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004958/0.4912, allocations: 1.1 MB / 0.5094 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02638/0.5176, allocations: 6.038 MB / 0.5153 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.5188, allocations: 240.5 kB / 0.5156 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.5212, allocations: 1.257 MB / 0.5168 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.5215, allocations: 112.2 kB / 0.5169 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008042/0.5223, allocations: 395.1 kB / 0.5173 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007456/0.523, allocations: 482.5 kB / 0.5177 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.5231, allocations: 22.47 kB / 0.5178 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7465/1.27, allocations: 142.8 MB / 0.6572 GB, free: 42.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003398/1.27, allocations: 134 kB / 0.6573 GB, free: 42.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008999/1.271, allocations: 270 kB / 0.6576 GB, free: 42.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004598/1.276, allocations: 1.89 MB / 0.6594 GB, free: 41.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.276, allocations: 0 / 0.6594 GB, free: 41.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/1.276, allocations: 4 kB / 0.6594 GB, free: 41.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/1.276, allocations: 0 / 0.6594 GB, free: 41.25 MB / 446.1 MB 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.001587/1.277, allocations: 1.402 MB / 0.6608 GB, free: 40 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/1.277, allocations: 12.02 kB / 0.6608 GB, free: 39.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004018/1.281, allocations: 1.209 MB / 0.662 GB, free: 39.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/1.281, allocations: 284.9 kB / 0.6623 GB, free: 38.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/1.282, allocations: 69.56 kB / 0.6623 GB, free: 38.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/1.282, allocations: 97.3 kB / 0.6624 GB, free: 38.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/1.283, allocations: 1.696 MB / 0.6641 GB, free: 37.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/1.283, allocations: 0.6875 kB / 0.6641 GB, free: 37.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/1.284, allocations: 40 kB / 0.6641 GB, free: 37.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-05/1.284, allocations: 72.33 kB / 0.6642 GB, free: 37.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/1.285, allocations: 1.599 MB / 0.6658 GB, free: 36.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004521/1.29, allocations: 8.594 MB / 0.6742 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/1.29, allocations: 0.764 MB / 0.6749 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/1.291, allocations: 0.7399 MB / 0.6756 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/1.293, allocations: 2.347 MB / 0.6779 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/1.293, allocations: 37.25 kB / 0.678 GB, free: 25.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=182): time 1.983e-06/1.293, allocations: 6.625 kB / 0.678 GB, free: 25.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=182): time 0.001704/1.295, allocations: 1.499 MB / 0.6794 GB, free: 24.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/1.295, allocations: 77.11 kB / 0.6795 GB, free: 24.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/1.295, allocations: 128.2 kB / 0.6796 GB, free: 24.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/1.295, allocations: 32.95 kB / 0.6796 GB, free: 24.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/1.295, allocations: 395.3 kB / 0.68 GB, free: 24.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/1.295, allocations: 0.5667 MB / 0.6806 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/1.295, allocations: 3.25 kB / 0.6806 GB, free: 23.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/1.295, allocations: 377.2 kB / 0.6809 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/1.296, allocations: 337.4 kB / 0.6813 GB, free: 23.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/1.296, allocations: 492.8 kB / 0.6817 GB, free: 22.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/1.297, allocations: 470.4 kB / 0.6822 GB, free: 22.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.297, allocations: 11.94 kB / 0.6822 GB, free: 22.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001136/1.298, allocations: 1.021 MB / 0.6832 GB, free: 21.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.298, allocations: 8 kB / 0.6832 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.298, allocations: 4 kB / 0.6832 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.298, allocations: 4.406 kB / 0.6832 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/1.298, allocations: 35.45 kB / 0.6832 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.298, allocations: 7.984 kB / 0.6832 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/1.299, allocations: 128.2 kB / 0.6834 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/1.299, allocations: 23.98 kB / 0.6834 GB, free: 21.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003209/1.299, allocations: 224.8 kB / 0.6836 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/1.299, allocations: 51.3 kB / 0.6837 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/1.302, allocations: 3.068 MB / 0.6867 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001725/1.304, allocations: 1.813 MB / 0.6884 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.304, allocations: 0 / 0.6884 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.304, allocations: 7.969 kB / 0.6884 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/1.308, allocations: 4.517 MB / 0.6928 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.308, allocations: 0 / 0.6928 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/1.309, allocations: 242.3 kB / 0.6931 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/1.309, allocations: 7.953 kB / 0.6931 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/1.309, allocations: 38.59 kB / 0.6931 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/1.309, allocations: 4 kB / 0.6931 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.309, allocations: 0 / 0.6931 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/1.311, allocations: 1.924 MB / 0.695 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/1.311, allocations: 242 kB / 0.6952 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/1.311, allocations: 36.45 kB / 0.6953 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/1.312, allocations: 152.4 kB / 0.6954 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.312, allocations: 88.47 kB / 0.6955 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/1.312, allocations: 48.36 kB / 0.6955 GB, free: 12.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001184/1.312, allocations: 136.5 kB / 0.6957 GB, free: 12.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.433e-06/1.312, allocations: 4 kB / 0.6957 GB, free: 12.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001413/1.314, allocations: 485.1 kB / 0.6961 GB, free: 12.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 (state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse11.phase,$cse12.phase,state2.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/1.315, allocations: 0.5619 MB / 0.6967 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002166/1.317, allocations: 2.05 MB / 0.6987 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.317, allocations: 3.188 kB / 0.6987 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009105/1.318, allocations: 0.926 MB / 0.6996 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/1.321, allocations: 0.818 MB / 0.7004 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/1.326, allocations: 3.926 MB / 0.7042 GB, free: 5.996 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/1.327, allocations: 1.324 MB / 0.7055 GB, free: 4.637 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008164/1.327, allocations: 173 kB / 0.7057 GB, free: 4.465 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/1.327, allocations: 87.44 kB / 0.7058 GB, free: 4.379 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/1.327, allocations: 3.188 kB / 0.7058 GB, free: 4.379 MB / 446.1 MB Notification: Performance of Templates: time 0.04885/1.376, allocations: 30.32 MB / 0.7354 GB, free: 7.031 MB / 478.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: