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.0008278/0.0008278, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009389/0.0009389, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9662/0.9662, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.008278/0.008278, allocations: 1.988 MB / 263 MB, free: 10.9 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.733e-06/1.733e-06, allocations: 0 / 333.6 MB, free: 16.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.439e-05, allocations: 2.312 kB / 333.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.007747/0.007771, allocations: 11.83 MB / 345.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007078/0.01485, allocations: 12.03 MB / 357.5 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.0151, allocations: 4 kB / 357.5 MB, free: 8.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.01564, allocations: 210.5 kB / 357.7 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.01794, allocations: 1.26 MB / 358.9 MB, free: 7.191 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.002379/0.02032, allocations: 1.157 MB / 360.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008416/0.02116, allocations: 0.9711 MB / 361 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.877e-05/0.02124, allocations: 29.91 kB / 361.1 MB, free: 5.02 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.5892/0.6104, allocations: 21.77 MB / 382.8 MB, free: 1.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.6108, allocations: 247.3 kB / 383.1 MB, free: 1.094 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.6108, allocations: 40 kB / 383.1 MB, free: 1.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.6128, allocations: 0.687 MB / 383.8 MB, free: 376 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.6129, allocations: 115.5 kB / 383.9 MB, free: 260 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.6131, allocations: 227.5 kB / 384.1 MB, free: 32 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.6149, allocations: 0.9306 MB / 385.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6149, allocations: 4 kB / 385.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6149, allocations: 0 / 385.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.6149, allocations: 0 / 385.1 MB, free: 15.09 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.001/0.6159, allocations: 1.002 MB / 386.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.6159, allocations: 12.03 kB / 386.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.6174, allocations: 1.038 MB / 387.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.6177, allocations: 267.8 kB / 387.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.6178, allocations: 53.62 kB / 387.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.6178, allocations: 52.38 kB / 387.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007245/0.6185, allocations: 0.7237 MB / 388.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6186, allocations: 0 / 388.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.6186, allocations: 24 kB / 388.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.6186, allocations: 31.98 kB / 388.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.619, allocations: 302.7 kB / 388.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.621, allocations: 3.182 MB / 391.8 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.6214, allocations: 198.1 kB / 391.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.6214, allocations: 95.08 kB / 392 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/0.6221, allocations: 0.9156 MB / 393 MB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.6221, allocations: 37.39 kB / 393 MB, free: 6.859 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 1.482e-06/0.6221, allocations: 0 / 393 MB, free: 6.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.0007409/0.6228, allocations: 0.5075 MB / 393.5 MB, free: 6.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.6229, allocations: 81.11 kB / 393.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.623, allocations: 242.1 kB / 393.8 MB, free: 5.996 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.623, allocations: 33.7 kB / 393.8 MB, free: 5.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.6232, allocations: 335.1 kB / 394.2 MB, free: 5.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.6233, allocations: 245.7 kB / 394.4 MB, free: 5.379 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.6234, allocations: 115.5 kB / 394.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6235, allocations: 0.5157 MB / 395 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.6235, allocations: 45.3 kB / 395.1 MB, free: 4.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.6237, allocations: 318.6 kB / 395.4 MB, free: 4.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.6239, allocations: 407.5 kB / 395.8 MB, free: 3.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.6239, allocations: 4 kB / 395.8 MB, free: 3.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003591/0.6243, allocations: 400.6 kB / 396.2 MB, free: 3.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6243, allocations: 8 kB / 396.2 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6243, allocations: 4 kB / 396.2 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.6244, allocations: 8 kB / 396.2 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.6245, allocations: 75.78 kB / 396.3 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.6245, allocations: 8 kB / 396.3 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.6246, allocations: 59.45 kB / 396.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.6247, allocations: 23.98 kB / 396.4 MB, free: 3.18 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,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.baseProperties.phaseInput) * 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.0001273/0.6248, allocations: 192.7 kB / 396.6 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.6248, allocations: 35.81 kB / 396.6 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.6249, allocations: 22.66 kB / 396.6 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6249, allocations: 4 kB / 396.6 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.6249, allocations: 0 / 396.6 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6249, allocations: 7.922 kB / 396.6 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.6252, allocations: 284.7 kB / 396.9 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6252, allocations: 4 kB / 396.9 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.6252, allocations: 23.92 kB / 396.9 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6253, allocations: 4 kB / 396.9 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.6253, allocations: 12 kB / 397 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6253, allocations: 0 / 397 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6253, allocations: 0 / 397 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.6256, allocations: 0.5337 MB / 397.5 MB, free: 2.008 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.6256, allocations: 39.61 kB / 397.5 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.6256, allocations: 4 kB / 397.5 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.6257, allocations: 4 kB / 397.5 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.6258, allocations: 27.84 kB / 397.6 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.6258, allocations: 8 kB / 397.6 MB, free: 1.926 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.404e-05/0.6258, allocations: 147.1 kB / 397.7 MB, free: 1.781 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6258, allocations: 0 / 397.7 MB, free: 1.781 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005863/0.6264, allocations: 187.5 kB / 397.9 MB, free: 1.598 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.000348/0.6268, allocations: 183 kB / 398.1 MB, free: 1.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004625/0.6272, allocations: 487.8 kB / 398.6 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.6272, allocations: 0 / 398.6 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.6275, allocations: 424.9 kB / 399 MB, free: 432 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.6284, allocations: 208.6 kB / 399.2 MB, free: 224 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.6297, allocations: 0.9776 MB / 400.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.6299, allocations: 167.7 kB / 400.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000377/0.6303, allocations: 209.9 kB / 400.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.6306, allocations: 230.1 kB / 400.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6306, allocations: 0 / 400.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of Templates: time 0.01585/0.6464, allocations: 10.24 MB / 411 MB, free: 4.34 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.159633236005902]