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.0007856/0.0007856, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002027, 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.0007337/0.0007337, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009917/0.001725, 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 1.03/1.03, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09861/1.128, allocations: 53.67 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.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.008176/0.008176, allocations: 2.081 MB / 246.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001969/0.01015, allocations: 1.274 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 1.633e-06/1.633e-06, allocations: 0 / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.822e-05, allocations: 5.828 kB / 248.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical): time 0.01071/0.01072, allocations: 15.36 MB / 264.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008883/0.01961, allocations: 9.01 MB / 273.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.02004, allocations: 4 kB / 273.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.02066, allocations: 329.5 kB / 273.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1484/0.1691, allocations: 1.72 MB / 275.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008952/0.17, allocations: 242.8 kB / 275.5 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.1714, allocations: 1.487 MB / 277 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1716, allocations: 61.78 kB / 277 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008132/0.1724, allocations: 0.6098 MB / 277.7 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.1729, allocations: 401.4 kB / 278 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/0.1729, allocations: 38.81 kB / 278.1 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7935/0.9664, allocations: 33.82 MB / 311.9 MB, free: 15.67 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.0001449/0.9665, allocations: 103.3 kB / 312 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006148/0.9671, allocations: 359.2 kB / 312.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.9689, allocations: 1.107 MB / 313.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.959e-05/0.9689, allocations: 5.922 kB / 313.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.9689, allocations: 0 / 313.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.9689, allocations: 3.938 kB / 313.5 MB, free: 14.47 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.001232/0.9701, allocations: 1.468 MB / 314.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.9702, allocations: 12.03 kB / 315 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/0.9733, allocations: 2.811 MB / 317.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.9735, allocations: 234.5 kB / 318 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.39e-05/0.9736, allocations: 73.95 kB / 318.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.9737, allocations: 96.06 kB / 318.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.9744, allocations: 0.8511 MB / 319 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.9744, allocations: 4 kB / 319 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.9744, allocations: 42.62 kB / 319.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/0.9745, allocations: 72.53 kB / 319.1 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.9749, allocations: 487.9 kB / 319.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.9771, allocations: 2.504 MB / 322.1 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.9773, allocations: 323.5 kB / 322.4 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.9775, allocations: 208.3 kB / 322.6 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008373/0.9783, allocations: 1.142 MB / 323.8 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.9784, allocations: 41.53 kB / 323.8 MB, free: 7.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=182): time 1.613e-06/0.9784, allocations: 0 / 323.8 MB, free: 7.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=182): time 0.0007811/0.9792, allocations: 1.025 MB / 324.8 MB, free: 6.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.9792, allocations: 84.38 kB / 324.9 MB, free: 6.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.9793, allocations: 145.4 kB / 325.1 MB, free: 6.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.9793, allocations: 29.7 kB / 325.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.9794, allocations: 406 kB / 325.5 MB, free: 5.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.9797, allocations: 0.5935 MB / 326.1 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.9798, allocations: 128.9 kB / 326.2 MB, free: 5.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.9799, allocations: 309.6 kB / 326.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.98, allocations: 116.6 kB / 326.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.9801, allocations: 283.3 kB / 326.9 MB, free: 4.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.9806, allocations: 0.5804 MB / 327.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9806, allocations: 4 kB / 327.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0005941/0.9812, allocations: 0.6678 MB / 328.1 MB, free: 3.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.9812, allocations: 8 kB / 328.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.9812, allocations: 4 kB / 328.2 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.9812, allocations: 4 kB / 328.2 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.9813, allocations: 35.27 kB / 328.2 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.9813, allocations: 11.75 kB / 328.2 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.9815, allocations: 86.7 kB / 328.3 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.9815, allocations: 15.73 kB / 328.3 MB, free: 3.23 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.0001594/0.9817, allocations: 134.8 kB / 328.4 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.9817, allocations: 19.97 kB / 328.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.9827, allocations: 1.268 MB / 329.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004474/0.9832, allocations: 0.5656 MB / 330.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.9832, allocations: 4 kB / 330.3 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.9832, allocations: 7.984 kB / 330.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.9847, allocations: 1.582 MB / 331.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9847, allocations: 0 / 331.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.9848, allocations: 66.41 kB / 332 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.9849, allocations: 87.12 kB / 332 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.9849, allocations: 4 kB / 332 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.9849, allocations: 4 kB / 332 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.9849, allocations: 8.031 kB / 332.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9849, allocations: 0 / 332.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.9855, allocations: 0.8905 MB / 332.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.9855, allocations: 14.95 kB / 333 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.9857, allocations: 12 kB / 333 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.9857, allocations: 31.88 kB / 333 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.9857, allocations: 12 kB / 333 MB, free: 14.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.9858, allocations: 39.88 kB / 333.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9858, allocations: 0 / 333.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005474/0.9863, allocations: 379 kB / 333.4 MB, free: 14.41 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.0006386/0.9869, allocations: 383 kB / 333.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007958/0.9877, allocations: 1.181 MB / 335 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.9877, allocations: 7.906 kB / 335 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.9884, allocations: 1.25 MB / 336.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.9897, allocations: 0.6282 MB / 336.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/1.001, allocations: 2.649 MB / 339.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/1.002, allocations: 0.7158 MB / 340.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007823/1.003, allocations: 438.3 kB / 340.7 MB, free: 6.797 MB / 314.7 MB Notification: Performance of SimCode: time 1.442e-06/1.003, allocations: 0 / 340.7 MB, free: 6.797 MB / 314.7 MB Notification: Performance of Templates: time 0.01518/1.018, allocations: 16.79 MB / 357.4 MB, free: 6 MB / 330.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 > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.161768790334463]