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.0009905/0.0009905, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001567/0.001567, allocations: 173 kB / 23.49 MB, free: 1.059 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.9524/0.9524, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.01895/0.01895, allocations: 1.992 MB / 262.3 MB, free: 11.12 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 2.445e-06/2.445e-06, allocations: 0 / 332.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.398e-05/4.643e-05, allocations: 6.25 kB / 332.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.009935/0.009981, allocations: 9.031 MB / 341.4 MB, free: 9.266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00513/0.01511, allocations: 8.526 MB / 349.9 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.01516, allocations: 0 / 349.9 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.01546, allocations: 127.2 kB / 350 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.01566, allocations: 95.25 kB / 350.1 MB, free: 0.4922 MB / 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.002282/0.01795, allocations: 1.459 MB / 351.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.01819, allocations: 258.6 kB / 351.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.241e-05/0.01822, allocations: 5.812 kB / 351.8 MB, free: 14.77 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.568/0.5862, allocations: 22.9 MB / 374.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.5864, allocations: 59.81 kB / 374.8 MB, free: 9.832 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.5864, allocations: 4 kB / 374.8 MB, free: 9.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008579/0.5873, allocations: 307.8 kB / 375.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.184e-05/0.5873, allocations: 31.84 kB / 375.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.125e-05/0.5874, allocations: 47.92 kB / 375.2 MB, free: 9.449 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.5881, allocations: 311.1 kB / 375.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5881, allocations: 0 / 375.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5881, allocations: 4 kB / 375.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.5881, allocations: 0 / 375.5 MB, free: 9.141 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.0005817/0.5886, allocations: 0.5113 MB / 376 MB, free: 8.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5887, allocations: 12.03 kB / 376 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.5891, allocations: 156.5 kB / 376.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.5893, allocations: 144.4 kB / 376.3 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.5893, allocations: 24.36 kB / 376.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.5893, allocations: 4.375 kB / 376.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.5897, allocations: 240.4 kB / 376.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.5897, allocations: 0 / 376.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.5897, allocations: 4 kB / 376.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.5897, allocations: 11.98 kB / 376.6 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.5898, allocations: 91.91 kB / 376.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.5905, allocations: 0.7293 MB / 377.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.5906, allocations: 87.33 kB / 377.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.5907, allocations: 60.8 kB / 377.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.5907, allocations: 4 kB / 377.5 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5907, allocations: 37.33 kB / 377.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.5907, allocations: 0 / 377.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003038/0.591, allocations: 256.7 kB / 377.8 MB, free: 6.617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.591, allocations: 55.41 kB / 377.9 MB, free: 6.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.5911, allocations: 177.9 kB / 378.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.5911, allocations: 29.7 kB / 378.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.5912, allocations: 155.3 kB / 378.2 MB, free: 6.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.5913, allocations: 115 kB / 378.3 MB, free: 6.055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.5913, allocations: 51.36 kB / 378.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5914, allocations: 0.4962 MB / 378.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-05/0.5915, allocations: 52.33 kB / 378.9 MB, free: 5.434 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-05/0.5916, allocations: 118.7 kB / 379.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.5917, allocations: 142.9 kB / 379.2 MB, free: 5.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5917, allocations: 0 / 379.2 MB, free: 5.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001869/0.5919, allocations: 197.3 kB / 379.4 MB, free: 4.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.5919, allocations: 4 kB / 379.4 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5919, allocations: 8.156 kB / 379.4 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5919, allocations: 3.938 kB / 379.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.592, allocations: 23.92 kB / 379.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.592, allocations: 4 kB / 379.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.5921, allocations: 23.84 kB / 379.5 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.5921, allocations: 4 kB / 379.5 MB, free: 4.859 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 8.112e-05/0.5921, allocations: 160.6 kB / 379.6 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.5922, allocations: 15.89 kB / 379.6 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.5924, allocations: 207.6 kB / 379.8 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5924, allocations: 3.938 kB / 379.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5924, allocations: 4 kB / 379.8 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5924, allocations: 3.938 kB / 379.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.5926, allocations: 207.9 kB / 380.1 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5926, allocations: 0 / 380.1 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.5926, allocations: 15.98 kB / 380.1 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5926, allocations: 4 kB / 380.1 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.5926, allocations: 0 / 380.1 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5926, allocations: 0 / 380.1 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5926, allocations: 3.938 kB / 380.1 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.5928, allocations: 356.3 kB / 380.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.5929, allocations: 15.89 kB / 380.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.5929, allocations: 0 / 380.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.5929, allocations: 4 kB / 380.4 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.593, allocations: 19.91 kB / 380.5 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.593, allocations: 4 kB / 380.5 MB, free: 3.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.86e-05/0.593, allocations: 127.2 kB / 380.6 MB, free: 3.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.593, allocations: 0 / 380.6 MB, free: 3.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.5932, allocations: 67.83 kB / 380.7 MB, free: 3.59 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.0004679/0.5937, allocations: 272 kB / 380.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.594, allocations: 214.3 kB / 381.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.594, allocations: 0 / 381.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.5941, allocations: 151.7 kB / 381.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.5945, allocations: 80.12 kB / 381.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.5952, allocations: 414.6 kB / 381.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.614e-05/0.5953, allocations: 93.12 kB / 381.9 MB, free: 2.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.782e-05/0.5954, allocations: 16.98 kB / 381.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.5954, allocations: 24.48 kB / 381.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5954, allocations: 8 kB / 381.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of Templates: time 0.007003/0.6024, allocations: 5.577 MB / 387.5 MB, free: 12.68 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: 3.9231692699249834]