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] "Error: Unknown debug flag newInst. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009941/0.0009941, allocations: 77.38 kB / 5.957 MB, free: 1.863 MB / 7.832 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002379, allocations: 448.2 kB / 6.394 MB, free: 1.422 MB / 7.832 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.001079/0.001079, allocations: 145.9 kB / 7.29 MB, free: 0.5273 MB / 7.832 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002436, allocations: 471.7 kB / 7.75 MB, free: 68 kB / 7.832 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.9339/0.9339, allocations: 177.2 MB / 185.7 MB, free: 9.195 MB / 186.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08191/1.016, allocations: 53.66 MB / 239.4 MB, free: 3.469 MB / 234.8 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.007754/0.007754, allocations: 2.087 MB / 242.2 MB, free: 0.6406 MB / 234.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.009328, allocations: 1.269 MB / 243.5 MB, free: 15.37 MB / 250.8 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.794e-06/1.794e-06, allocations: 0 / 244.8 MB, free: 14.06 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.395e-06/1.019e-05, allocations: 2.312 kB / 244.8 MB, free: 14.05 MB / 250.8 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical): time 0.01017/0.01018, allocations: 15.35 MB / 260.1 MB, free: 14.64 MB / 266.8 MB Notification: Performance of NFInst.instExpressions: time 0.006153/0.01633, allocations: 9.014 MB / 269.1 MB, free: 5.594 MB / 266.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.01664, allocations: 8 kB / 269.2 MB, free: 5.586 MB / 266.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.01707, allocations: 325.5 kB / 269.5 MB, free: 5.266 MB / 266.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.01991, allocations: 1.725 MB / 271.2 MB, free: 3.527 MB / 266.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.02054, allocations: 243.5 kB / 271.4 MB, free: 3.289 MB / 266.8 MB Notification: Performance of NFFlatten.flatten: time 0.0009044/0.02144, allocations: 1.497 MB / 272.9 MB, free: 1.781 MB / 266.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.02154, allocations: 55.22 kB / 273 MB, free: 1.711 MB / 266.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.02192, allocations: 0.6153 MB / 273.6 MB, free: 1.094 MB / 266.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.02224, allocations: 394.8 kB / 274 MB, free: 0.707 MB / 266.8 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.02228, allocations: 40 kB / 274 MB, free: 0.668 MB / 266.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8708/0.8931, allocations: 33.82 MB / 307.8 MB, free: 4.457 MB / 282.8 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 8.971e-05/0.8932, allocations: 111.5 kB / 307.9 MB, free: 4.457 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.8935, allocations: 353.5 kB / 308.3 MB, free: 4.457 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.8948, allocations: 1.112 MB / 309.4 MB, free: 4.363 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.8948, allocations: 1.125 kB / 309.4 MB, free: 4.363 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.393e-06/0.8948, allocations: 4 kB / 309.4 MB, free: 4.359 MB / 282.8 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.8949, allocations: 0 / 309.4 MB, free: 4.359 MB / 282.8 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.0009672/0.8958, allocations: 1.475 MB / 310.9 MB, free: 3.742 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.8959, allocations: 14.33 kB / 310.9 MB, free: 3.738 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004341/0.9002, allocations: 2.812 MB / 313.7 MB, free: 2.816 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.9004, allocations: 230.2 kB / 313.9 MB, free: 2.609 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.9004, allocations: 72.56 kB / 314 MB, free: 2.57 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.9005, allocations: 90.81 kB / 314.1 MB, free: 2.512 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008525/0.9014, allocations: 0.8533 MB / 315 MB, free: 1.969 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.9014, allocations: 3.422 kB / 315 MB, free: 1.969 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.9014, allocations: 47.06 kB / 315 MB, free: 1.953 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/0.9015, allocations: 65.23 kB / 315.1 MB, free: 1.926 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.902, allocations: 490.8 kB / 315.5 MB, free: 1.496 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.9048, allocations: 2.514 MB / 318.1 MB, free: 16 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.9051, allocations: 332.6 kB / 318.4 MB, free: 15.66 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.9053, allocations: 204.3 kB / 318.6 MB, free: 15.47 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.9063, allocations: 1.143 MB / 319.7 MB, free: 14.66 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.9063, allocations: 41.72 kB / 319.8 MB, free: 14.61 MB / 298.8 MB Notification: Performance of pre-optimization done (n=182): time 1.533e-06/0.9063, allocations: 0 / 319.8 MB, free: 14.61 MB / 298.8 MB Notification: Performance of matching and sorting (n=182): time 0.0009808/0.9073, allocations: 1.019 MB / 320.8 MB, free: 13.63 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.9073, allocations: 77.11 kB / 320.9 MB, free: 13.54 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.9074, allocations: 145.4 kB / 321 MB, free: 13.4 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.9075, allocations: 33.16 kB / 321 MB, free: 13.37 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.9076, allocations: 407.6 kB / 321.4 MB, free: 13.04 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.9079, allocations: 0.5942 MB / 322 MB, free: 12.56 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.908, allocations: 129.2 kB / 322.2 MB, free: 12.49 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.9081, allocations: 306 kB / 322.5 MB, free: 12.18 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.9083, allocations: 120.1 kB / 322.6 MB, free: 12.08 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.9085, allocations: 284.6 kB / 322.8 MB, free: 11.8 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.9089, allocations: 0.5861 MB / 323.4 MB, free: 11.21 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.9089, allocations: 0 / 323.4 MB, free: 11.21 MB / 298.8 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0006571/0.9096, allocations: 0.6685 MB / 324.1 MB, free: 10.57 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.9096, allocations: 8 kB / 324.1 MB, free: 10.56 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9096, allocations: 4 kB / 324.1 MB, free: 10.56 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.9096, allocations: 4 kB / 324.1 MB, free: 10.55 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.9097, allocations: 35.27 kB / 324.2 MB, free: 10.52 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.9097, allocations: 4 kB / 324.2 MB, free: 10.52 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.9099, allocations: 94.73 kB / 324.2 MB, free: 10.43 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.9099, allocations: 15.98 kB / 324.3 MB, free: 10.42 MB / 298.8 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.0001536/0.9101, allocations: 138.3 kB / 324.4 MB, free: 10.29 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.9102, allocations: 23.97 kB / 324.4 MB, free: 10.27 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.9112, allocations: 1.258 MB / 325.7 MB, free: 9.223 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005134/0.9117, allocations: 0.5764 MB / 326.3 MB, free: 8.652 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.9117, allocations: 0 / 326.3 MB, free: 8.652 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9117, allocations: 2.734 kB / 326.3 MB, free: 8.652 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.9132, allocations: 1.577 MB / 327.8 MB, free: 7.289 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9132, allocations: 0 / 327.8 MB, free: 7.289 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.9133, allocations: 63.08 kB / 327.9 MB, free: 7.234 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.9134, allocations: 85.88 kB / 328 MB, free: 7.152 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.9134, allocations: 4 kB / 328 MB, free: 7.148 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.9134, allocations: 15.67 kB / 328 MB, free: 7.141 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.9134, allocations: 0 / 328 MB, free: 7.141 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9134, allocations: 4 kB / 328 MB, free: 7.137 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.9141, allocations: 0.8956 MB / 328.9 MB, free: 6.266 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.9142, allocations: 19.45 kB / 328.9 MB, free: 6.254 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.9144, allocations: 7.875 kB / 328.9 MB, free: 6.25 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.9144, allocations: 39.5 kB / 329 MB, free: 6.219 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.9144, allocations: 11.88 kB / 329 MB, free: 6.211 MB / 298.8 MB Notification: Performance of sorting global known variables: time 3.248e-05/0.9145, allocations: 35.91 kB / 329 MB, free: 6.18 MB / 298.8 MB Notification: Performance of sort global known variables: time 7e-08/0.9145, allocations: 0 / 329 MB, free: 6.18 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0006252/0.9151, allocations: 382.1 kB / 329.4 MB, free: 5.816 MB / 298.8 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.0006658/0.9157, allocations: 378.7 kB / 329.8 MB, free: 5.488 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0009408/0.9167, allocations: 1.143 MB / 330.9 MB, free: 4.289 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.9167, allocations: 4 kB / 330.9 MB, free: 4.285 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008236/0.9175, allocations: 1.207 MB / 332.1 MB, free: 2.828 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.9193, allocations: 0.8826 MB / 333 MB, free: 1.941 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.9344, allocations: 2.569 MB / 335.6 MB, free: 15.68 MB / 314.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.9347, allocations: 315.4 kB / 335.9 MB, free: 15.34 MB / 314.8 MB Notification: Performance of simCode: alias equations: time 0.0004831/0.9352, allocations: 153.1 kB / 336 MB, free: 15.2 MB / 314.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000761/0.9359, allocations: 427 kB / 336.4 MB, free: 14.77 MB / 314.8 MB Notification: Performance of SimCode: time 1.051e-06/0.9359, allocations: 0 / 336.4 MB, free: 14.77 MB / 314.8 MB Notification: Performance of Templates: time 0.03373/0.9697, allocations: 28.53 MB / 365 MB, free: 2.199 MB / 330.8 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 -s=ida > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.776969833299518]