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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007785/0.007784, allocations: 101.4 kB / 15.73 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001308, allocations: 189.2 kB / 16.67 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01155/0.01155, allocations: 2.778 MB / 293.3 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 59.89 kB / 405.9 MB, free: 29.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.0994, allocations: 50.24 MB / 456.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.009667/0.1091, allocations: 8.811 MB / 464.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007067/0.1162, allocations: 8.466 MB / 473.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1163, allocations: 3.938 kB / 473.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.1169, allocations: 155 kB / 473.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.1172, allocations: 99.34 kB / 473.7 MB, free: 9.203 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.003325/0.1206, allocations: 1.424 MB / 475.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.1209, allocations: 246.9 kB / 475.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.121, allocations: 9.562 kB / 475.3 MB, free: 7.52 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.1213/0.2423, allocations: 13.69 MB / 489 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2425, allocations: 71.58 kB / 489.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.2426, allocations: 8 kB / 489.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.2438, allocations: 308 kB / 489.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.2439, allocations: 19.92 kB / 489.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.244, allocations: 79.59 kB / 489.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.2453, allocations: 347.1 kB / 489.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2453, allocations: 0 / 489.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2453, allocations: 0 / 489.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.2453, allocations: 0 / 489.8 MB, free: 10.16 MB / 366.1 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.0007617/0.2461, allocations: 498.9 kB / 490.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2461, allocations: 12.03 kB / 490.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.2466, allocations: 88.66 kB / 490.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.2468, allocations: 192.2 kB / 490.6 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.2469, allocations: 24.3 kB / 490.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.2469, allocations: 11.94 kB / 490.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.2473, allocations: 255.2 kB / 490.9 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2474, allocations: 0 / 490.9 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.2474, allocations: 4 kB / 490.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.2474, allocations: 11.98 kB / 490.9 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.2478, allocations: 235.8 kB / 491.1 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009918/0.2488, allocations: 0.858 MB / 492 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.2491, allocations: 174.8 kB / 492.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.2493, allocations: 149.1 kB / 492.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.2494, allocations: 3.938 kB / 492.3 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2494, allocations: 42.55 kB / 492.4 MB, free: 7.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.342e-06/0.2494, allocations: 0 / 492.4 MB, free: 7.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.000704/0.2501, allocations: 402.3 kB / 492.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2501, allocations: 55.41 kB / 492.8 MB, free: 6.957 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.2502, allocations: 113.8 kB / 492.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2503, allocations: 25.7 kB / 492.9 MB, free: 6.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.2503, allocations: 108.4 kB / 493 MB, free: 6.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.2504, allocations: 106.5 kB / 493.1 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.2505, allocations: 41.7 kB / 493.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.2506, allocations: 330.8 kB / 493.5 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.2508, allocations: 120.3 kB / 493.6 MB, free: 6.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.251, allocations: 165.8 kB / 493.8 MB, free: 5.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.2514, allocations: 212.9 kB / 494 MB, free: 5.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2514, allocations: 0 / 494 MB, free: 5.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000506/0.2519, allocations: 301.1 kB / 494.3 MB, free: 5.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2519, allocations: 11.84 kB / 494.3 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2519, allocations: 0 / 494.3 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.252, allocations: 4 kB / 494.3 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.2521, allocations: 19.98 kB / 494.3 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2521, allocations: 4.156 kB / 494.3 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.2522, allocations: 35.67 kB / 494.4 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2522, allocations: 4 kB / 494.4 MB, free: 5.305 MB / 366.1 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.73e-05/0.2523, allocations: 126.2 kB / 494.5 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.2524, allocations: 11.84 kB / 494.5 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005388/0.2529, allocations: 338.8 kB / 494.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.253, allocations: 11.98 kB / 494.8 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.253, allocations: 0 / 494.8 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.253, allocations: 4 kB / 494.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.2533, allocations: 297.1 kB / 495.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2533, allocations: 3.984 kB / 495.1 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.2534, allocations: 15.98 kB / 495.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2534, allocations: 0 / 495.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2534, allocations: 11.98 kB / 495.2 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2534, allocations: 0 / 495.2 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2534, allocations: 0 / 495.2 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.2541, allocations: 431 kB / 495.6 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.2542, allocations: 96.86 kB / 495.7 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.2542, allocations: 4 kB / 495.7 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2543, allocations: 7.984 kB / 495.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.2544, allocations: 7.984 kB / 495.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.2544, allocations: 12 kB / 495.7 MB, free: 3.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.2544, allocations: 83.28 kB / 495.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2544, allocations: 0 / 495.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.2548, allocations: 71.86 kB / 495.9 MB, free: 3.699 MB / 366.1 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.0004421/0.2552, allocations: 248 kB / 496.1 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005754/0.2558, allocations: 358.3 kB / 496.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2558, allocations: 0 / 496.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.2561, allocations: 240 kB / 496.7 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.2567, allocations: 80.31 kB / 496.8 MB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/0.2575, allocations: 0.5123 MB / 497.3 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2578, allocations: 0.7487 MB / 498 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2579, allocations: 16.98 kB / 498.1 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.258, allocations: 23.44 kB / 498.1 MB, free: 1.418 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.258, allocations: 0 / 498.1 MB, free: 1.418 MB / 366.1 MB Notification: Performance of Templates: time 0.0102/0.2682, allocations: 5.466 MB / 0.4917 GB, free: 11.98 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.makefile (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)