Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.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.0007292/0.0007292, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009716/0.001701, allocations: 451.9 kB / 10.44 MB, free: 252 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.001129/0.001129, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002568, allocations: 475.5 kB / 11.81 MB, free: 2.359 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.9581/0.9581, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07554/1.034, allocations: 53.66 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo): time 0.007495/0.007495, allocations: 2.095 MB / 246.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001734/0.009228, allocations: 1.262 MB / 247.5 MB, free: 11.38 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/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_SVDSBTL.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 4 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.867e-06/1.127e-05, allocations: 2.312 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical): time 0.009458/0.009469, allocations: 15.38 MB / 264.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005993/0.01546, allocations: 9.007 MB / 273.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.01578, allocations: 4 kB / 273.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.01619, allocations: 329.5 kB / 273.5 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1071/0.1233, allocations: 1.715 MB / 275.3 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.1241, allocations: 248.7 kB / 275.5 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1253, allocations: 1.493 MB / 277 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1255, allocations: 58.58 kB / 277.1 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007888/0.1263, allocations: 0.6082 MB / 277.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004528/0.1267, allocations: 403.9 kB / 278.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.1268, allocations: 38.12 kB / 278.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7495/0.8763, allocations: 33.81 MB / 311.9 MB, free: 15.62 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.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.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.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.0001147/0.8765, allocations: 111.3 kB / 312 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000555/0.877, allocations: 355.2 kB / 312.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.8786, allocations: 1.114 MB / 313.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-05/0.8786, allocations: 0 / 313.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.8786, allocations: 8 kB / 313.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.8786, allocations: 0 / 313.5 MB, free: 14.42 MB / 298.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.001035/0.8797, allocations: 1.471 MB / 315 MB, free: 13.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.8797, allocations: 8.031 kB / 315 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/0.8829, allocations: 2.812 MB / 317.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.8831, allocations: 236.5 kB / 318 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.8831, allocations: 68.88 kB / 318.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.8832, allocations: 95.19 kB / 318.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.8839, allocations: 0.845 MB / 319 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.8839, allocations: 0 / 319 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.8839, allocations: 52.67 kB / 319.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-05/0.884, allocations: 68.64 kB / 319.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.8843, allocations: 488.2 kB / 319.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.8865, allocations: 2.505 MB / 322.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.8867, allocations: 325 kB / 322.4 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.8869, allocations: 204.9 kB / 322.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008109/0.8877, allocations: 1.15 MB / 323.8 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.8877, allocations: 30.56 kB / 323.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=182): time 1.603e-06/0.8877, allocations: 0 / 323.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=182): time 0.0007347/0.8884, allocations: 1.026 MB / 324.8 MB, free: 6.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.8885, allocations: 84.73 kB / 324.9 MB, free: 6.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.8885, allocations: 141.3 kB / 325.1 MB, free: 6.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.8886, allocations: 29.39 kB / 325.1 MB, free: 6.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.8887, allocations: 406 kB / 325.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.8889, allocations: 0.6 MB / 326.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/0.889, allocations: 127.5 kB / 326.2 MB, free: 5.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.8891, allocations: 309.9 kB / 326.5 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/0.8892, allocations: 116.5 kB / 326.6 MB, free: 4.844 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.8893, allocations: 281.6 kB / 326.9 MB, free: 4.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.8896, allocations: 0.5821 MB / 327.5 MB, free: 3.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8896, allocations: 0 / 327.5 MB, free: 3.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0004939/0.8901, allocations: 0.67 MB / 328.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.8902, allocations: 8 kB / 328.2 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.8902, allocations: 4 kB / 328.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.8902, allocations: 4 kB / 328.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.8902, allocations: 35.23 kB / 328.2 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.8903, allocations: 15.22 kB / 328.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.8904, allocations: 87.45 kB / 328.3 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.8904, allocations: 11.81 kB / 328.3 MB, free: 3.184 MB / 298.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.0001227/0.8905, allocations: 138.1 kB / 328.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.8906, allocations: 23.97 kB / 328.5 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/0.8914, allocations: 1.262 MB / 329.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003731/0.8917, allocations: 0.5696 MB / 330.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.8917, allocations: 0 / 330.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8917, allocations: 0 / 330.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.8929, allocations: 1.586 MB / 331.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.8929, allocations: 0 / 331.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.8929, allocations: 59.55 kB / 331.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.893, allocations: 83.14 kB / 332 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.893, allocations: 4 kB / 332 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.893, allocations: 15.98 kB / 332 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.893, allocations: 0 / 332 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.893, allocations: 4 kB / 332.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.8935, allocations: 0.8978 MB / 332.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.8936, allocations: 11.95 kB / 333 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.8937, allocations: 8 kB / 333 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.8937, allocations: 35.88 kB / 333 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.8937, allocations: 8 kB / 333 MB, free: 14.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.738e-05/0.8937, allocations: 38.66 kB / 333 MB, free: 14.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.8937, allocations: 0 / 333 MB, free: 14.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000413/0.8942, allocations: 386.9 kB / 333.4 MB, free: 14.37 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (state1.phase,$cse4.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,state2.phase,$cse2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 34 * 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.0005062/0.8947, allocations: 386.6 kB / 333.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.8954, allocations: 1.137 MB / 334.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.8954, allocations: 4 kB / 334.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.896, allocations: 1.208 MB / 336.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.8972, allocations: 0.8842 MB / 337 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.9073, allocations: 2.577 MB / 339.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.9075, allocations: 315.4 kB / 339.9 MB, free: 7.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004146/0.908, allocations: 145.8 kB / 340.1 MB, free: 7.285 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.9086, allocations: 423.1 kB / 340.5 MB, free: 6.867 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9086, allocations: 0 / 340.5 MB, free: 6.867 MB / 314.7 MB Notification: Performance of Templates: time 0.02667/0.9352, allocations: 28.53 MB / 369 MB, free: 10.3 MB / 346.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.603121101856232]