Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.001534/0.001534, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001574/0.001574, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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.9835/0.9835, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.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.00781/0.00781, allocations: 1.996 MB / 261.9 MB, free: 11.06 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 332.3 MB, free: 16.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.14e-05, allocations: 2.312 kB / 332.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.01005/0.01007, allocations: 11.95 MB / 344.3 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.02015, allocations: 12.19 MB / 356.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.02043, allocations: 4 kB / 356.5 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.02108, allocations: 210.4 kB / 356.7 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.02441, allocations: 1.253 MB / 357.9 MB, free: 7.223 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.02727, allocations: 1.165 MB / 359.1 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.02835, allocations: 0.9749 MB / 360.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.02844, allocations: 33.89 kB / 360.1 MB, free: 5.035 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.5664/0.5949, allocations: 21.75 MB / 381.9 MB, free: 1.352 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.5953, allocations: 239.3 kB / 382.1 MB, free: 1.117 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.5954, allocations: 43.98 kB / 382.1 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.5972, allocations: 0.6909 MB / 382.8 MB, free: 392 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.5973, allocations: 111.5 kB / 382.9 MB, free: 280 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.5976, allocations: 231.5 kB / 383.2 MB, free: 48 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.5993, allocations: 0.9347 MB / 384.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5994, allocations: 0 / 384.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5994, allocations: 0 / 384.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.5994, allocations: 0 / 384.1 MB, free: 15.11 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001184/0.6005, allocations: 0.9902 MB / 385.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.6006, allocations: 8.031 kB / 385.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.6021, allocations: 1.034 MB / 386.1 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.6025, allocations: 279.8 kB / 386.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.6025, allocations: 45.69 kB / 386.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.6026, allocations: 56.38 kB / 386.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000854/0.6035, allocations: 0.7705 MB / 387.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.6035, allocations: 0 / 387.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.6035, allocations: 24 kB / 387.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.6035, allocations: 39.97 kB / 387.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.604, allocations: 352.8 kB / 387.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.6061, allocations: 3.244 MB / 390.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.6065, allocations: 230 kB / 391.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.6066, allocations: 107.1 kB / 391.3 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006742/0.6073, allocations: 0.9156 MB / 392.2 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.6073, allocations: 37.39 kB / 392.2 MB, free: 6.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 1.322e-06/0.6073, allocations: 4 kB / 392.2 MB, free: 6.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008036/0.6081, allocations: 0.5311 MB / 392.7 MB, free: 6.137 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.6082, allocations: 85.05 kB / 392.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.6083, allocations: 242.2 kB / 393.1 MB, free: 5.781 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.6083, allocations: 25.7 kB / 393.1 MB, free: 5.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.6084, allocations: 339.2 kB / 393.4 MB, free: 5.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.6085, allocations: 245.8 kB / 393.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.6086, allocations: 103.6 kB / 393.8 MB, free: 5.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6088, allocations: 0.5118 MB / 394.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.394e-05/0.6088, allocations: 69.23 kB / 394.3 MB, free: 4.465 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.609, allocations: 318.8 kB / 394.7 MB, free: 4.051 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.6093, allocations: 435.5 kB / 395.1 MB, free: 3.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6093, allocations: 0 / 395.1 MB, free: 3.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004016/0.6097, allocations: 432.9 kB / 395.5 MB, free: 3.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.6098, allocations: 15.91 kB / 395.5 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.6098, allocations: 4 kB / 395.5 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.6098, allocations: 11.94 kB / 395.5 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.6099, allocations: 67.91 kB / 395.6 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.6099, allocations: 15.88 kB / 395.6 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.6101, allocations: 59.5 kB / 395.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.6101, allocations: 20 kB / 395.7 MB, free: 2.898 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001167/0.6102, allocations: 184.4 kB / 395.9 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.6103, allocations: 35.81 kB / 395.9 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.6103, allocations: 34.64 kB / 395.9 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.6103, allocations: 0 / 395.9 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/0.6103, allocations: 3.938 kB / 395.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6103, allocations: 4 kB / 396 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.6106, allocations: 352.1 kB / 396.3 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6106, allocations: 0 / 396.3 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.6107, allocations: 23.98 kB / 396.3 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6107, allocations: 0 / 396.3 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.6107, allocations: 8 kB / 396.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6107, allocations: 0 / 396.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6107, allocations: 0 / 396.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.6111, allocations: 0.5611 MB / 396.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.6111, allocations: 39.61 kB / 396.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.6111, allocations: 4 kB / 396.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.6112, allocations: 7.938 kB / 396.9 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.6112, allocations: 23.91 kB / 397 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.6112, allocations: 8 kB / 397 MB, free: 1.555 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.016e-05/0.6113, allocations: 155.2 kB / 397.1 MB, free: 1.402 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6113, allocations: 0 / 397.1 MB, free: 1.402 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003707/0.6117, allocations: 187.5 kB / 397.3 MB, free: 1.219 MB / 314.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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003062/0.612, allocations: 175.9 kB / 397.5 MB, free: 1.047 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004216/0.6124, allocations: 495.9 kB / 398 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6124, allocations: 4 kB / 398 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.6126, allocations: 436.9 kB / 398.4 MB, free: 24 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.6133, allocations: 216.6 kB / 398.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.6145, allocations: 0.993 MB / 399.6 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.6146, allocations: 163.7 kB / 399.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.6149, allocations: 209.9 kB / 400 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.6149, allocations: 48.48 kB / 400 MB, free: 14.35 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6149, allocations: 0 / 400 MB, free: 14.35 MB / 330.7 MB Notification: Performance of Templates: time 0.01061/0.6255, allocations: 8.617 MB / 408.6 MB, free: 5.715 MB / 330.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.12222799193114]