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.0009557/0.0009557, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00101/0.00101, allocations: 177 kB / 23.36 MB, free: 1.133 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.9592/0.9592, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.01254/0.01254, allocations: 1.989 MB / 262.2 MB, free: 10.95 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.302e-06/1.302e-06, allocations: 0 / 279.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.797e-05, allocations: 9.266 kB / 279.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.01121/0.01124, allocations: 9.026 MB / 288.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1159/0.1271, allocations: 8.44 MB / 297 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1273, allocations: 3.938 kB / 297 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.1277, allocations: 129.5 kB / 297.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.1279, allocations: 98.86 kB / 297.3 MB, free: 16.73 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.003042/0.131, allocations: 1.477 MB / 298.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.1313, allocations: 248.8 kB / 299 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.1313, allocations: 13.41 kB / 299 MB, free: 15.84 MB / 266.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.5746/0.7059, allocations: 22.89 MB / 321.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.7061, allocations: 63.73 kB / 322 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.7062, allocations: 8 kB / 322 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.7074, allocations: 303.3 kB / 322.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.7074, allocations: 26.72 kB / 322.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.7075, allocations: 47.11 kB / 322.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006848/0.7082, allocations: 317.8 kB / 322.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7082, allocations: 0 / 322.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7082, allocations: 0 / 322.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.7082, allocations: 0 / 322.6 MB, free: 0.875 MB / 266.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.0004801/0.7087, allocations: 392.1 kB / 323 MB, free: 500 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.7087, allocations: 15.97 kB / 323 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.709, allocations: 153.3 kB / 323.2 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.7092, allocations: 136.8 kB / 323.3 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.7092, allocations: 22.23 kB / 323.3 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.7092, allocations: 8.375 kB / 323.3 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.7095, allocations: 216.5 kB / 323.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.7095, allocations: 4 kB / 323.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.7095, allocations: 3.938 kB / 323.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.7095, allocations: 15.17 kB / 323.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.571e-05/0.7096, allocations: 74.06 kB / 323.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.7101, allocations: 0.5168 MB / 324.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.7102, allocations: 106.8 kB / 324.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.7102, allocations: 45.3 kB / 324.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.7103, allocations: 0 / 324.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.7103, allocations: 34.56 kB / 324.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 3.557e-06/0.7103, allocations: 4 kB / 324.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.000213/0.7105, allocations: 196.5 kB / 324.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.7105, allocations: 51.41 kB / 324.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.7106, allocations: 130.6 kB / 324.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.7106, allocations: 25.7 kB / 324.8 MB, free: 14.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.7107, allocations: 104 kB / 324.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.7107, allocations: 113.7 kB / 325 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.7108, allocations: 44.53 kB / 325 MB, free: 14.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.7108, allocations: 330.8 kB / 325.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.7109, allocations: 39.09 kB / 325.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.472e-05/0.7109, allocations: 85.03 kB / 325.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.711, allocations: 123.1 kB / 325.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.711, allocations: 0 / 325.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001444/0.7112, allocations: 148.1 kB / 325.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7112, allocations: 12.16 kB / 325.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.7112, allocations: 0 / 325.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7112, allocations: 0 / 325.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.7113, allocations: 23.98 kB / 325.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.7113, allocations: 0 / 325.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.7114, allocations: 39.08 kB / 325.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.7114, allocations: 4.078 kB / 325.8 MB, free: 13.68 MB / 282.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.265e-05/0.7114, allocations: 124 kB / 325.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.7115, allocations: 7.984 kB / 325.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.7117, allocations: 154 kB / 326.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.7117, allocations: 4 kB / 326.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.7117, allocations: 0 / 326.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.7117, allocations: 7.922 kB / 326.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.7118, allocations: 147.9 kB / 326.2 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7118, allocations: 0 / 326.2 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.7119, allocations: 19.48 kB / 326.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.7119, allocations: 0 / 326.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.7119, allocations: 0 / 326.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7119, allocations: 0 / 326.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7119, allocations: 4 kB / 326.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.712, allocations: 295.5 kB / 326.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.7121, allocations: 23.77 kB / 326.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.7121, allocations: 0 / 326.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.193e-05/0.7121, allocations: 7.312 kB / 326.6 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.7122, allocations: 15.91 kB / 326.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.7122, allocations: 3.188 kB / 326.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.757e-05/0.7122, allocations: 16.83 kB / 326.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7122, allocations: 0 / 326.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.7124, allocations: 58.83 kB / 326.7 MB, free: 12.8 MB / 282.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.0004696/0.7128, allocations: 296.9 kB / 327 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.713, allocations: 168.8 kB / 327.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.713, allocations: 4 kB / 327.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.7131, allocations: 127.1 kB / 327.2 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.7134, allocations: 77.73 kB / 327.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006387/0.714, allocations: 422 kB / 327.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.7141, allocations: 89.88 kB / 327.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.245e-05/0.7142, allocations: 25.12 kB / 327.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.7143, allocations: 110.8 kB / 328 MB, free: 11.51 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7143, allocations: 4 kB / 328 MB, free: 11.51 MB / 282.7 MB Notification: Performance of Templates: time 0.00794/0.7223, allocations: 6.441 MB / 334.4 MB, free: 5.148 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.7768043149262667]