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.001207/0.001207, 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.001286/0.001286, allocations: 173.3 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.9385/0.9385, 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.01032/0.01032, allocations: 2.001 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.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.713e-06/1.713e-06, allocations: 0 / 332.3 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.781e-05/3.952e-05, allocations: 6.25 kB / 332.3 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.008704/0.008743, allocations: 9.038 MB / 341.4 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.01434, allocations: 8.526 MB / 349.9 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.01451, allocations: 0 / 349.9 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.01501, allocations: 127.2 kB / 350 MB, free: 380 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.01539, allocations: 103.2 kB / 350.1 MB, free: 276 kB / 314.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.003736/0.01913, allocations: 1.463 MB / 351.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.01954, allocations: 254.7 kB / 351.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.01959, allocations: 5.812 kB / 351.8 MB, free: 14.54 MB / 330.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.6141/0.6337, allocations: 22.8 MB / 374.6 MB, free: 9.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.6339, allocations: 55.83 kB / 374.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.6339, allocations: 8 kB / 374.7 MB, free: 9.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009245/0.6349, allocations: 307.8 kB / 375 MB, free: 9.391 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.6349, allocations: 27.84 kB / 375 MB, free: 9.363 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.564e-05/0.635, allocations: 47.91 kB / 375.1 MB, free: 9.316 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.6357, allocations: 315.1 kB / 375.4 MB, free: 9.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6357, allocations: 0 / 375.4 MB, free: 9.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6357, allocations: 3.938 kB / 375.4 MB, free: 9.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.6357, allocations: 0 / 375.4 MB, free: 9.004 MB / 346.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.0005902/0.6363, allocations: 0.5114 MB / 375.9 MB, free: 8.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.6363, allocations: 8.031 kB / 375.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.6367, allocations: 156.6 kB / 376 MB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.6368, allocations: 136.4 kB / 376.2 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.6369, allocations: 20.38 kB / 376.2 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.6369, allocations: 16.31 kB / 376.2 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.6371, allocations: 240.4 kB / 376.5 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6371, allocations: 0 / 376.5 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.6372, allocations: 15.94 kB / 376.5 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.6372, allocations: 4 kB / 376.5 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.6373, allocations: 95.91 kB / 376.6 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.6379, allocations: 0.7254 MB / 377.3 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.638, allocations: 87.31 kB / 377.4 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.6381, allocations: 60.81 kB / 377.4 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.6381, allocations: 4 kB / 377.4 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.6381, allocations: 41.38 kB / 377.5 MB, free: 6.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.6381, allocations: 3.984 kB / 377.5 MB, free: 6.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002914/0.6384, allocations: 256.6 kB / 377.7 MB, free: 6.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.6384, allocations: 51.41 kB / 377.8 MB, free: 6.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.6385, allocations: 177.9 kB / 378 MB, free: 6.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.6385, allocations: 25.7 kB / 378 MB, free: 6.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.6386, allocations: 155.3 kB / 378.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.6386, allocations: 115 kB / 378.2 MB, free: 5.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.6387, allocations: 47.36 kB / 378.3 MB, free: 5.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6388, allocations: 0.504 MB / 378.8 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.6388, allocations: 48.31 kB / 378.8 MB, free: 5.297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.832e-05/0.6389, allocations: 118.8 kB / 379 MB, free: 5.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.639, allocations: 142.8 kB / 379.1 MB, free: 4.992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.639, allocations: 0 / 379.1 MB, free: 4.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001783/0.6392, allocations: 197.3 kB / 379.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6392, allocations: 8 kB / 379.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6392, allocations: 3.938 kB / 379.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6393, allocations: 7.938 kB / 379.3 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.6393, allocations: 19.98 kB / 379.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6393, allocations: 3.938 kB / 379.3 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.6394, allocations: 23.83 kB / 379.4 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.6394, allocations: 8 kB / 379.4 MB, free: 4.719 MB / 346.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 7.273e-05/0.6395, allocations: 164.7 kB / 379.5 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.6395, allocations: 11.91 kB / 379.5 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.6397, allocations: 199.6 kB / 379.7 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.6397, allocations: 11.94 kB / 379.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6397, allocations: 0 / 379.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6397, allocations: 0 / 379.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.6399, allocations: 207.9 kB / 379.9 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6399, allocations: 0 / 379.9 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.6399, allocations: 15.98 kB / 380 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6399, allocations: 4 kB / 380 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.6399, allocations: 0 / 380 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6399, allocations: 4 kB / 380 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6399, allocations: 3.938 kB / 380 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.6401, allocations: 348.3 kB / 380.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.6401, allocations: 19.88 kB / 380.3 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.6401, allocations: 0 / 380.3 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.792e-05/0.6402, allocations: 4 kB / 380.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.6403, allocations: 19.91 kB / 380.4 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.6403, allocations: 0 / 380.4 MB, free: 3.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.6403, allocations: 131.7 kB / 380.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6403, allocations: 4 kB / 380.5 MB, free: 3.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.6405, allocations: 71.75 kB / 380.6 MB, free: 3.449 MB / 346.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.0004116/0.6409, allocations: 276 kB / 380.8 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.6412, allocations: 210 kB / 381 MB, free: 2.949 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6412, allocations: 0 / 381 MB, free: 2.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.195e-05/0.6413, allocations: 139.7 kB / 381.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.6416, allocations: 84.44 kB / 381.3 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/0.6424, allocations: 426.6 kB / 381.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.572e-05/0.6424, allocations: 89.12 kB / 381.8 MB, free: 2.172 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.54e-05/0.6425, allocations: 24.97 kB / 381.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.6425, allocations: 20.5 kB / 381.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6425, allocations: 0 / 381.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of Templates: time 0.008315/0.6508, allocations: 6.599 MB / 388.4 MB, free: 11.51 MB / 362.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.114295040722936]