Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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.001496/0.001496, allocations: 93.06 kB / 19.65 MB, free: 280 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.001608/0.001608, allocations: 169 kB / 23.02 MB, free: 1.555 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.9528/0.9528, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.007644/0.007644, allocations: 1.985 MB / 261.9 MB, free: 11.07 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.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 332.3 MB, free: 16.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.396e-05, allocations: 2.312 kB / 332.3 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.007359/0.007383, allocations: 9.045 MB / 341.4 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005398/0.01278, allocations: 8.518 MB / 349.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.737e-05/0.01288, allocations: 0 / 349.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.0134, allocations: 135.2 kB / 350 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.01371, allocations: 99.23 kB / 350.1 MB, free: 15.08 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.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.01702, allocations: 1.462 MB / 351.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.01735, allocations: 250.8 kB / 351.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.01739, allocations: 5.812 kB / 351.8 MB, free: 13.36 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.5698/0.5872, allocations: 22.82 MB / 374.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.5874, allocations: 55.83 kB / 374.7 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.5874, allocations: 4 kB / 374.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009735/0.5884, allocations: 299.8 kB / 375 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.5885, allocations: 27.84 kB / 375 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.5886, allocations: 51.91 kB / 375.1 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.5892, allocations: 319.1 kB / 375.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5892, allocations: 0 / 375.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5892, allocations: 0 / 375.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.5892, allocations: 0 / 375.4 MB, free: 7.859 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006084/0.5898, allocations: 0.5113 MB / 375.9 MB, free: 7.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.5899, allocations: 8.031 kB / 375.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.5902, allocations: 156.5 kB / 376.1 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.5903, allocations: 140.4 kB / 376.2 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.5904, allocations: 24.31 kB / 376.2 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.5904, allocations: 16.38 kB / 376.2 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.5907, allocations: 236.6 kB / 376.5 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5907, allocations: 7.984 kB / 376.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5907, allocations: 0 / 376.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.5907, allocations: 11.98 kB / 376.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.5908, allocations: 91.91 kB / 376.6 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.5916, allocations: 0.7293 MB / 377.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.5917, allocations: 87.33 kB / 377.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.5918, allocations: 64.8 kB / 377.5 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.5918, allocations: 0 / 377.5 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5918, allocations: 41.33 kB / 377.5 MB, free: 5.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.5919, allocations: 0 / 377.5 MB, free: 5.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003235/0.5922, allocations: 248.8 kB / 377.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.5922, allocations: 55.41 kB / 377.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.5923, allocations: 173.8 kB / 378 MB, free: 5.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5923, allocations: 33.7 kB / 378 MB, free: 5.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.5924, allocations: 151.3 kB / 378.1 MB, free: 4.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.5925, allocations: 123 kB / 378.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.5925, allocations: 47.36 kB / 378.3 MB, free: 4.715 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5927, allocations: 0.5001 MB / 378.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.5927, allocations: 40.33 kB / 378.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/0.5928, allocations: 122.7 kB / 379 MB, free: 4.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.593, allocations: 134.9 kB / 379.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.593, allocations: 0 / 379.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002006/0.5932, allocations: 201.3 kB / 379.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.5932, allocations: 4 kB / 379.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5932, allocations: 0 / 379.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.5932, allocations: 7.938 kB / 379.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.5933, allocations: 27.92 kB / 379.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5933, allocations: 4.156 kB / 379.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.5934, allocations: 23.78 kB / 379.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.5934, allocations: 4 kB / 379.4 MB, free: 3.586 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (fluid.phaseOutput,fluid.state.phase,fluid.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.476e-05/0.5935, allocations: 161 kB / 379.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.5935, allocations: 15.91 kB / 379.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.5937, allocations: 211.4 kB / 379.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5938, allocations: 3.938 kB / 379.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5938, allocations: 0 / 379.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5938, allocations: 0 / 379.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.5939, allocations: 204.4 kB / 380 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.5939, allocations: 0 / 380 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.594, allocations: 15.98 kB / 380 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.594, allocations: 0 / 380 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.594, allocations: 4 kB / 380 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.594, allocations: 0 / 380 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.594, allocations: 3.938 kB / 380 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.5942, allocations: 352.3 kB / 380.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.5942, allocations: 19.84 kB / 380.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.5943, allocations: 0 / 380.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.5943, allocations: 8 kB / 380.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.5944, allocations: 19.91 kB / 380.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.5944, allocations: 8 kB / 380.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.5944, allocations: 131.2 kB / 380.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5944, allocations: 0 / 380.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.5946, allocations: 63.83 kB / 380.6 MB, free: 2.316 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fluid.state.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005503/0.5952, allocations: 266.3 kB / 380.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.5955, allocations: 202.4 kB / 381 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5955, allocations: 0 / 381 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.5956, allocations: 152 kB / 381.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.596, allocations: 84.17 kB / 381.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.5968, allocations: 418.5 kB / 381.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.5969, allocations: 89.12 kB / 381.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.102e-05/0.597, allocations: 20.98 kB / 381.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.597, allocations: 28.48 kB / 381.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.597, allocations: 0 / 381.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of Templates: time 0.007501/0.6045, allocations: 5.585 MB / 387.4 MB, free: 11.43 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.137823838740587]