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.0008611/0.0008611, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006341/0.006341, allocations: 170.5 kB / 16.27 MB, free: 6.656 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1503/0.1503, allocations: 2.782 MB / 294.2 MB, free: 4.227 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 11.98 kB / 356.2 MB, free: 3.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 51.25 MB / 407.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.2245/0.3319, allocations: 80.92 MB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03613/0.3681, allocations: 39.93 MB / 0.5159 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.3697, allocations: 4.281 kB / 0.516 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003839/0.3735, allocations: 1.152 MB / 0.5171 GB, free: 104 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0283/0.4018, allocations: 6.396 MB / 0.5233 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.4033, allocations: 254.1 kB / 0.5236 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.406, allocations: 1.306 MB / 0.5248 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.4063, allocations: 102.4 kB / 0.5249 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/0.4071, allocations: 412.5 kB / 0.5253 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008219/0.4079, allocations: 0.4943 MB / 0.5258 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/0.408, allocations: 22.53 kB / 0.5258 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.81/3.218, allocations: 154.4 MB / 0.6766 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004076/3.218, allocations: 142.8 kB / 0.6767 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003248/3.221, allocations: 0.6038 MB / 0.6773 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02515/3.247, allocations: 2.683 MB / 0.6799 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/3.247, allocations: 0 / 0.6799 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.545e-06/3.247, allocations: 0 / 0.6799 GB, free: 11.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.54e-05/3.247, allocations: 0 / 0.6799 GB, free: 11.39 MB / 462.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.002943/3.25, allocations: 1.39 MB / 0.6813 GB, free: 10.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/3.25, allocations: 12.03 kB / 0.6813 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005015/3.255, allocations: 1.212 MB / 0.6825 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/3.255, allocations: 278.9 kB / 0.6828 GB, free: 9.066 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/3.255, allocations: 73 kB / 0.6828 GB, free: 9.027 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/3.256, allocations: 90.75 kB / 0.6829 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/3.259, allocations: 1.702 MB / 0.6846 GB, free: 7.973 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/3.259, allocations: 4 kB / 0.6846 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/3.259, allocations: 38.38 kB / 0.6846 GB, free: 7.961 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/3.259, allocations: 74.73 kB / 0.6847 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/3.261, allocations: 1.607 MB / 0.6863 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00884/3.27, allocations: 8.597 MB / 0.6947 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/3.271, allocations: 0.7624 MB / 0.6954 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/3.272, allocations: 0.7395 MB / 0.6961 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003838/3.276, allocations: 2.352 MB / 0.6984 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/3.276, allocations: 37.38 kB / 0.6984 GB, free: 11.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=182): time 3.446e-06/3.276, allocations: 0 / 0.6984 GB, free: 11.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=182): time 0.002875/3.279, allocations: 1.509 MB / 0.6999 GB, free: 10.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/3.279, allocations: 77.11 kB / 0.7 GB, free: 10.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/3.279, allocations: 141 kB / 0.7001 GB, free: 10.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/3.279, allocations: 29.58 kB / 0.7002 GB, free: 10.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/3.28, allocations: 392.2 kB / 0.7005 GB, free: 10.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006473/3.28, allocations: 0.5689 MB / 0.7011 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/3.281, allocations: 100.2 kB / 0.7012 GB, free: 9.566 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/3.281, allocations: 310 kB / 0.7015 GB, free: 9.258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/3.281, allocations: 336.9 kB / 0.7018 GB, free: 9.113 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007109/3.282, allocations: 496.7 kB / 0.7023 GB, free: 8.641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/3.284, allocations: 1.021 MB / 0.7033 GB, free: 7.582 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/3.284, allocations: 0 / 0.7033 GB, free: 7.582 MB / 478.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001782/3.285, allocations: 1.048 MB / 0.7043 GB, free: 6.551 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/3.285, allocations: 8 kB / 0.7043 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/3.286, allocations: 8 kB / 0.7043 GB, free: 6.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/3.286, allocations: 4 kB / 0.7043 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/3.286, allocations: 30.89 kB / 0.7043 GB, free: 6.504 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/3.286, allocations: 4 kB / 0.7043 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/3.286, allocations: 126.7 kB / 0.7045 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/3.287, allocations: 27.94 kB / 0.7045 GB, free: 6.348 MB / 478.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 (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.00059/3.287, allocations: 226 kB / 0.7047 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/3.287, allocations: 51.28 kB / 0.7048 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/3.291, allocations: 3.089 MB / 0.7078 GB, free: 2.953 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002315/3.293, allocations: 1.836 MB / 0.7096 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/3.293, allocations: 0 / 0.7096 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/3.294, allocations: 11.16 kB / 0.7096 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007857/3.301, allocations: 4.575 MB / 0.714 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/3.301, allocations: 3.938 kB / 0.7141 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/3.302, allocations: 238.6 kB / 0.7143 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/3.302, allocations: 8 kB / 0.7143 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/3.302, allocations: 32 kB / 0.7143 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/3.302, allocations: 8 kB / 0.7143 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/3.302, allocations: 3.938 kB / 0.7143 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/3.305, allocations: 1.951 MB / 0.7162 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/3.305, allocations: 262.7 kB / 0.7165 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/3.306, allocations: 32 kB / 0.7165 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007957/3.306, allocations: 146.9 kB / 0.7167 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/3.306, allocations: 101.5 kB / 0.7168 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/3.307, allocations: 40 kB / 0.7168 GB, free: 9.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002635/3.307, allocations: 231 kB / 0.717 GB, free: 9.473 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.1e-07/3.307, allocations: 0 / 0.717 GB, free: 9.473 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001472/3.308, allocations: 455 kB / 0.7174 GB, free: 9.027 MB / 494.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 (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.00101/3.309, allocations: 0.5836 MB / 0.718 GB, free: 8.539 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00247/3.312, allocations: 2.045 MB / 0.72 GB, free: 6.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/3.312, allocations: 0 / 0.72 GB, free: 6.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/3.313, allocations: 0.936 MB / 0.7209 GB, free: 5.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004859/3.318, allocations: 0.901 MB / 0.7218 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/3.324, allocations: 3.983 MB / 0.7257 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/3.325, allocations: 1.328 MB / 0.727 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009958/3.326, allocations: 183.2 kB / 0.7272 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/3.326, allocations: 95.44 kB / 0.7273 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of SimCode: time 2.174e-06/3.326, allocations: 0 / 0.7273 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.2293/3.555, allocations: 33.63 MB / 0.7601 GB, free: 214.2 MB / 0.5137 GB 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: