Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.0007191/0.0007191, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009501/0.001669, 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.0006739/0.0006739, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008987/0.001573, 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.9366/0.9366, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08129/1.018, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.007156/0.007156, allocations: 1.983 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002016/0.009172, allocations: 1.231 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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.792e-05, allocations: 2.312 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.009568/0.009585, allocations: 14.98 MB / 263.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006403/0.01599, allocations: 9.007 MB / 272.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005224/0.01651, allocations: 4 kB / 272.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.01701, allocations: 333.5 kB / 273 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.02047, allocations: 1.737 MB / 274.7 MB, free: 28 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1075/0.128, allocations: 224.4 kB / 275 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1294, allocations: 1.489 MB / 276.4 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1296, allocations: 56.97 kB / 276.5 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007871/0.1303, allocations: 0.6147 MB / 277.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.1308, allocations: 394.3 kB / 277.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.1309, allocations: 41.38 kB / 277.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5433/0.6742, allocations: 21.87 MB / 299.4 MB, free: 9.746 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.CO2CoolProp.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.CO2CoolProp.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.0001218/0.6743, allocations: 108.2 kB / 299.5 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.6748, allocations: 353.9 kB / 299.9 MB, free: 9.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.6764, allocations: 1.106 MB / 301 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.6764, allocations: 6.188 kB / 301 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.6764, allocations: 0 / 301 MB, free: 9.473 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.6764, allocations: 0 / 301 MB, free: 9.473 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.001171/0.6776, allocations: 1.473 MB / 302.5 MB, free: 8.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.6776, allocations: 14.72 kB / 302.5 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/0.6809, allocations: 2.816 MB / 305.3 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.6811, allocations: 225.6 kB / 305.5 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.6812, allocations: 76.88 kB / 305.6 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.36e-05/0.6812, allocations: 89.5 kB / 305.7 MB, free: 8.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.682, allocations: 0.8533 MB / 306.5 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.682, allocations: 0 / 306.5 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.682, allocations: 44.12 kB / 306.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.6821, allocations: 73.27 kB / 306.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.6825, allocations: 483.4 kB / 307.1 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.6847, allocations: 2.511 MB / 309.6 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.6849, allocations: 328.4 kB / 309.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.6851, allocations: 204.6 kB / 310.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008462/0.6859, allocations: 1.143 MB / 311.3 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.686, allocations: 40.91 kB / 311.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=182): time 1.633e-06/0.686, allocations: 0 / 311.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=182): time 0.0007508/0.6867, allocations: 1.02 MB / 312.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.6867, allocations: 81.11 kB / 312.4 MB, free: 3.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.6868, allocations: 145.8 kB / 312.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.6868, allocations: 25.7 kB / 312.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.687, allocations: 416.7 kB / 313 MB, free: 2.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.6872, allocations: 0.5863 MB / 313.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.706e-05/0.6873, allocations: 131.8 kB / 313.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.6873, allocations: 309.9 kB / 314 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.876e-05/0.6874, allocations: 116.6 kB / 314.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.6876, allocations: 279.9 kB / 314.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.6879, allocations: 0.5944 MB / 315 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6879, allocations: 4 kB / 315 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0004865/0.6884, allocations: 0.6586 MB / 315.7 MB, free: 348 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6884, allocations: 8 kB / 315.7 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6885, allocations: 7.938 kB / 315.7 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6885, allocations: 8 kB / 315.7 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.114e-05/0.6885, allocations: 31.08 kB / 315.7 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.6886, allocations: 11.94 kB / 315.7 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.6887, allocations: 87.14 kB / 315.8 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.6887, allocations: 15.7 kB / 315.8 MB, free: 196 kB / 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.0001256/0.6888, allocations: 141.1 kB / 316 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.6889, allocations: 23.78 kB / 316 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.6889, allocations: 34.64 kB / 316 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6889, allocations: 7.719 kB / 316 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6889, allocations: 4 kB / 316 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6889, allocations: 3.938 kB / 316 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.6893, allocations: 489.3 kB / 316.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6893, allocations: 0 / 316.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.6894, allocations: 11.98 kB / 316.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.6894, allocations: 82.78 kB / 316.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6894, allocations: 0 / 316.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6894, allocations: 7.75 kB / 316.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6894, allocations: 4 kB / 316.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6894, allocations: 0 / 316.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.69, allocations: 0.9136 MB / 317.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.69, allocations: 7.875 kB / 317.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.6901, allocations: 0 / 317.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.6901, allocations: 11.61 kB / 317.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.6901, allocations: 7.75 kB / 317.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.875e-05/0.6901, allocations: 21.22 kB / 317.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6901, allocations: 0 / 317.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004491/0.6906, allocations: 366.6 kB / 317.9 MB, free: 14.3 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.0005584/0.6912, allocations: 368.2 kB / 318.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006947/0.6919, allocations: 1.18 MB / 319.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.6919, allocations: 4.562 kB / 319.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.6925, allocations: 1.496 MB / 321 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.6935, allocations: 0.5397 MB / 321.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.7041, allocations: 1.997 MB / 323.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.7043, allocations: 315 kB / 323.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004267/0.7047, allocations: 182.7 kB / 324 MB, free: 7.914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.7053, allocations: 402.9 kB / 324.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7053, allocations: 0 / 324.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of Templates: time 0.02814/0.7334, allocations: 26.43 MB / 350.8 MB, free: 13.04 MB / 330.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.49964814260602]