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.001355/0.001355, allocations: 88.72 kB / 19.44 MB, free: 356 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.001526/0.001526, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.51/1.51, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.01224/0.01224, allocations: 1.986 MB / 261.6 MB, free: 11.08 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.753e-06/1.753e-06, allocations: 0 / 331.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.296e-05, allocations: 2.312 kB / 331.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.007532/0.007555, allocations: 8.153 MB / 339.8 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004643/0.0122, allocations: 7.318 MB / 347.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.01231, allocations: 0 / 347.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.01278, allocations: 135.1 kB / 347.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.0131, allocations: 95.25 kB / 347.3 MB, free: 1.527 MB / 266.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.002954/0.01605, allocations: 1.463 MB / 348.8 MB, free: 56 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.0165, allocations: 258.8 kB / 349 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.01655, allocations: 5.812 kB / 349 MB, free: 15.79 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.8124/0.829, allocations: 22.91 MB / 371.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.8291, allocations: 63.8 kB / 372 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.8292, allocations: 8 kB / 372 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.8303, allocations: 299.8 kB / 372.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.8304, allocations: 27.84 kB / 372.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.8305, allocations: 51.8 kB / 372.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008866/0.8314, allocations: 358.9 kB / 372.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.8314, allocations: 0 / 372.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.8314, allocations: 0 / 372.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.8314, allocations: 0 / 372.7 MB, free: 10.16 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.0008584/0.8322, allocations: 433.3 kB / 373.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.8323, allocations: 8.031 kB / 373.1 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.8328, allocations: 160.6 kB / 373.3 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.8331, allocations: 137.6 kB / 373.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.8331, allocations: 20.38 kB / 373.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.8331, allocations: 8.375 kB / 373.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.8337, allocations: 323.3 kB / 373.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.8337, allocations: 0 / 373.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.8337, allocations: 4 kB / 373.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.8337, allocations: 7.984 kB / 373.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.8342, allocations: 251.8 kB / 374 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.8353, allocations: 0.6546 MB / 374.7 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.8356, allocations: 142.8 kB / 374.8 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.8358, allocations: 133 kB / 375 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.8359, allocations: 4 kB / 375 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.8359, allocations: 30.56 kB / 375 MB, free: 7.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.192e-06/0.8359, allocations: 0 / 375 MB, free: 7.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008991/0.8368, allocations: 433.4 kB / 375.4 MB, free: 7.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.8368, allocations: 51.41 kB / 375.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.837, allocations: 121.9 kB / 375.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.837, allocations: 25.7 kB / 375.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.8371, allocations: 108.6 kB / 375.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.8372, allocations: 115 kB / 375.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/0.8373, allocations: 37.7 kB / 375.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.8375, allocations: 326.8 kB / 376.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.8378, allocations: 128.3 kB / 376.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.838, allocations: 169.8 kB / 376.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.8385, allocations: 217.8 kB / 376.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.8385, allocations: 0 / 376.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005645/0.839, allocations: 293.3 kB / 377 MB, free: 5.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.8391, allocations: 11.98 kB / 377 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8391, allocations: 0 / 377 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.8391, allocations: 7.938 kB / 377 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.8392, allocations: 24.14 kB / 377 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.8392, allocations: 3.938 kB / 377 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.8394, allocations: 39.77 kB / 377.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.8394, allocations: 7.938 kB / 377.1 MB, free: 5.562 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 0.0001291/0.8395, allocations: 121.8 kB / 377.2 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.8395, allocations: 15.89 kB / 377.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/0.8402, allocations: 343.5 kB / 377.5 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.8402, allocations: 15.92 kB / 377.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8402, allocations: 0 / 377.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.8402, allocations: 0 / 377.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.8405, allocations: 220.9 kB / 377.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8405, allocations: 0 / 377.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.8406, allocations: 15.98 kB / 377.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8406, allocations: 0 / 377.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.8406, allocations: 4 kB / 377.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8406, allocations: 0 / 377.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.8406, allocations: 3.938 kB / 377.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.8413, allocations: 451.8 kB / 378.2 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.8413, allocations: 23.78 kB / 378.3 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.8414, allocations: 0 / 378.3 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.8415, allocations: 7.984 kB / 378.3 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.8415, allocations: 15.92 kB / 378.3 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.8416, allocations: 4 kB / 378.3 MB, free: 4.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.986e-05/0.8416, allocations: 91.27 kB / 378.4 MB, free: 4.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.8416, allocations: 0 / 378.4 MB, free: 4.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.842, allocations: 59.94 kB / 378.4 MB, free: 4.133 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.0006522/0.8426, allocations: 262.5 kB / 378.7 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006568/0.8433, allocations: 346.4 kB / 379 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8433, allocations: 0 / 379 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.8436, allocations: 207.9 kB / 379.2 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.8442, allocations: 76.3 kB / 379.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/0.8451, allocations: 492.8 kB / 379.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.8453, allocations: 139 kB / 379.9 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.8454, allocations: 29.11 kB / 380 MB, free: 2.562 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.8454, allocations: 24.5 kB / 380 MB, free: 2.539 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.8454, allocations: 0 / 380 MB, free: 2.539 MB / 298.7 MB Notification: Performance of Templates: time 0.01152/0.8569, allocations: 5.582 MB / 385.6 MB, free: 12.95 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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.034418132039718]