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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008882/0.0008882, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009185/0.001807, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007025/0.0007025, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008743/0.001577, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8975/0.8975, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07748/0.975, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01168/0.01168, allocations: 1.989 MB / 246.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002946/0.01462, allocations: 1.235 MB / 247.4 MB, free: 11.54 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.018e-05, allocations: 2.312 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.01424/0.01426, allocations: 14.98 MB / 263.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006199/0.02046, allocations: 9.003 MB / 272.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004687/0.02093, allocations: 4 kB / 272.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.02141, allocations: 329.5 kB / 273 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.02465, allocations: 1.737 MB / 274.7 MB, free: 40 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.09865/0.1233, allocations: 223.7 kB / 275 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.1248, allocations: 1.488 MB / 276.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1249, allocations: 56.98 kB / 276.5 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008755/0.1258, allocations: 0.611 MB / 277.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005841/0.1264, allocations: 403.8 kB / 277.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1265, allocations: 38.47 kB / 277.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6784/0.8049, allocations: 22.14 MB / 299.7 MB, free: 9.633 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropTabular.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropTabular.SaturationProperties is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.8051, allocations: 107.5 kB / 299.8 MB, free: 9.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004957/0.8056, allocations: 356.8 kB / 300.1 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.8069, allocations: 1.11 MB / 301.2 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.8069, allocations: 3.938 kB / 301.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8069, allocations: 7.594 kB / 301.3 MB, free: 9.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.807, allocations: 0 / 301.3 MB, free: 9.352 MB / 282.7 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.0009499/0.8079, allocations: 1.467 MB / 302.7 MB, free: 8.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.8079, allocations: 11.47 kB / 302.7 MB, free: 8.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.8108, allocations: 2.818 MB / 305.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.811, allocations: 230.5 kB / 305.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.811, allocations: 71.38 kB / 305.9 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.8111, allocations: 91.38 kB / 305.9 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.8118, allocations: 0.8545 MB / 306.8 MB, free: 7.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.8118, allocations: 3.188 kB / 306.8 MB, free: 7.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.8118, allocations: 47.06 kB / 306.8 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.8119, allocations: 71.61 kB / 306.9 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.8122, allocations: 482.4 kB / 307.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.8144, allocations: 2.513 MB / 309.9 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.8147, allocations: 328.8 kB / 310.2 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.8148, allocations: 200.5 kB / 310.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000944/0.8158, allocations: 1.142 MB / 311.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.8158, allocations: 42.38 kB / 311.6 MB, free: 4.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=182): time 2.295e-06/0.8158, allocations: 0 / 311.6 MB, free: 4.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=182): time 0.0007383/0.8165, allocations: 1.024 MB / 312.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.8165, allocations: 77.11 kB / 312.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.8166, allocations: 137.2 kB / 312.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.8166, allocations: 41.39 kB / 312.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.8168, allocations: 404.5 kB / 313.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.817, allocations: 0.5901 MB / 313.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.846e-05/0.8171, allocations: 135.2 kB / 314 MB, free: 1.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.8171, allocations: 309.9 kB / 314.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.8172, allocations: 120.1 kB / 314.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.8174, allocations: 278 kB / 314.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.8178, allocations: 0.5946 MB / 315.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8178, allocations: 0 / 315.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0007043/0.8185, allocations: 0.666 MB / 315.9 MB, free: 148 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.8185, allocations: 8 kB / 315.9 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8185, allocations: 4 kB / 316 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.8185, allocations: 4 kB / 316 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.8186, allocations: 35.08 kB / 316 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.8186, allocations: 7.938 kB / 316 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.8187, allocations: 83.45 kB / 316.1 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.8187, allocations: 19.88 kB / 316.1 MB, free: 0 / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0001543/0.8189, allocations: 133.8 kB / 316.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.8189, allocations: 19.83 kB / 316.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.819, allocations: 34.33 kB / 316.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.819, allocations: 7.812 kB / 316.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.819, allocations: 4.062 kB / 316.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.819, allocations: 7.875 kB / 316.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.8194, allocations: 498.7 kB / 316.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.8194, allocations: 0 / 316.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.8195, allocations: 12 kB / 316.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.8195, allocations: 75.16 kB / 316.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.8195, allocations: 7.984 kB / 316.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.8195, allocations: 3.812 kB / 316.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8195, allocations: 4 kB / 316.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.8195, allocations: 0 / 316.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.8201, allocations: 0.913 MB / 317.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.8201, allocations: 3.812 kB / 317.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.8202, allocations: 0 / 317.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.8203, allocations: 19.78 kB / 317.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.8203, allocations: 3.875 kB / 317.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.071e-05/0.8203, allocations: 21.28 kB / 317.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.8203, allocations: 0 / 317.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004911/0.8208, allocations: 366.7 kB / 318.2 MB, free: 14.12 MB / 298.7 MB 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.0005992/0.8214, allocations: 385.2 kB / 318.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007198/0.8221, allocations: 1.172 MB / 319.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.8221, allocations: 8 kB / 319.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007666/0.8229, allocations: 1.493 MB / 321.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.824, allocations: 0.5323 MB / 321.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.8348, allocations: 1.993 MB / 323.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.835, allocations: 311 kB / 324.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004916/0.8355, allocations: 186.7 kB / 324.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005747/0.8361, allocations: 403.8 kB / 324.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of SimCode: time 1.342e-06/0.8361, allocations: 0 / 324.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of Templates: time 0.02817/0.8642, allocations: 26.53 MB / 351.2 MB, free: 12.74 MB / 330.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.324326016008854]