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.001586/0.001586, allocations: 79.97 kB / 19.76 MB, free: 1.875 MB / 14.72 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.00195/0.00195, allocations: 162.2 kB / 23.01 MB, free: 4.602 MB / 14.72 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.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01139/0.01139, allocations: 1.992 MB / 261.8 MB, free: 14.68 MB / 254.1 MB " [Timeout remaining time 180] 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.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: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.89 kB / 385.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1163, allocations: 54.14 MB / 439.8 MB, free: 12.22 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.01128/0.1276, allocations: 8.174 MB / 448 MB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008108/0.1357, allocations: 7.31 MB / 455.3 MB, free: 12.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1358, allocations: 7.938 kB / 455.3 MB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.1363, allocations: 131.2 kB / 455.4 MB, free: 12.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.1367, allocations: 91.41 kB / 455.5 MB, free: 12.45 MB / 430.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.003424/0.1401, allocations: 1.416 MB / 456.9 MB, free: 11.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.1405, allocations: 250.8 kB / 457.2 MB, free: 10.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.36e-05/0.1405, allocations: 5.812 kB / 457.2 MB, free: 10.77 MB / 430.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.1305/0.271, allocations: 13.76 MB / 470.9 MB, free: 14.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.2712, allocations: 71.64 kB / 471 MB, free: 14.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.2712, allocations: 4 kB / 471 MB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.2735, allocations: 304 kB / 471.3 MB, free: 14.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.2736, allocations: 23.91 kB / 471.3 MB, free: 14.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2737, allocations: 63.67 kB / 471.4 MB, free: 14.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008613/0.2745, allocations: 347 kB / 471.7 MB, free: 13.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2745, allocations: 4 kB / 471.7 MB, free: 13.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2745, allocations: 0 / 471.7 MB, free: 13.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2746, allocations: 3.938 kB / 471.7 MB, free: 13.86 MB / 446.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.0008518/0.2754, allocations: 421.3 kB / 472.1 MB, free: 13.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2754, allocations: 12.03 kB / 472.1 MB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.2759, allocations: 88.75 kB / 472.2 MB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.2761, allocations: 142.3 kB / 472.4 MB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.2762, allocations: 28.36 kB / 472.4 MB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2762, allocations: 7.938 kB / 472.4 MB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.2767, allocations: 311 kB / 472.7 MB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2767, allocations: 0 / 472.7 MB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2767, allocations: 4 kB / 472.7 MB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.2767, allocations: 11.94 kB / 472.7 MB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.2772, allocations: 251.8 kB / 473 MB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.2782, allocations: 0.6621 MB / 473.6 MB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.2785, allocations: 142.8 kB / 473.8 MB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.2788, allocations: 125.1 kB / 473.9 MB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2788, allocations: 4 kB / 473.9 MB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.2788, allocations: 42.5 kB / 473.9 MB, free: 11.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.462e-06/0.2788, allocations: 0 / 473.9 MB, free: 11.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.000891/0.2797, allocations: 413.4 kB / 474.3 MB, free: 11.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.2798, allocations: 55.41 kB / 474.4 MB, free: 11.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2799, allocations: 121.8 kB / 474.5 MB, free: 10.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2799, allocations: 25.7 kB / 474.5 MB, free: 10.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.28, allocations: 104.6 kB / 474.6 MB, free: 10.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2801, allocations: 123 kB / 474.8 MB, free: 10.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.2802, allocations: 41.7 kB / 474.8 MB, free: 10.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2803, allocations: 318.8 kB / 475.1 MB, free: 10.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.2806, allocations: 128.3 kB / 475.2 MB, free: 10.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.2809, allocations: 173.7 kB / 475.4 MB, free: 9.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.2813, allocations: 221.6 kB / 475.6 MB, free: 9.719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2813, allocations: 0 / 475.6 MB, free: 9.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005572/0.2818, allocations: 297.2 kB / 475.9 MB, free: 9.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2818, allocations: 12.16 kB / 475.9 MB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2819, allocations: 0 / 475.9 MB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.2819, allocations: 7.938 kB / 475.9 MB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.282, allocations: 23.97 kB / 476 MB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.282, allocations: 0 / 476 MB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2821, allocations: 23.84 kB / 476 MB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.2821, allocations: 11.94 kB / 476 MB, free: 9.344 MB / 446.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 0.000127/0.2823, allocations: 129.8 kB / 476.1 MB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.2823, allocations: 15.84 kB / 476.1 MB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.2829, allocations: 344 kB / 476.5 MB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.283, allocations: 4 kB / 476.5 MB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.283, allocations: 0 / 476.5 MB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.283, allocations: 4 kB / 476.5 MB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.2833, allocations: 221.1 kB / 476.7 MB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.2833, allocations: 0 / 476.7 MB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-05/0.2834, allocations: 15.98 kB / 476.7 MB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2834, allocations: 3.938 kB / 476.7 MB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2834, allocations: 4 kB / 476.7 MB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2834, allocations: 4 kB / 476.7 MB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.2834, allocations: 7.969 kB / 476.7 MB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/0.284, allocations: 443.6 kB / 477.2 MB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.284, allocations: 20.02 kB / 477.2 MB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.2841, allocations: 7.938 kB / 477.2 MB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2842, allocations: 7.938 kB / 477.2 MB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.2842, allocations: 11.97 kB / 477.2 MB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.2843, allocations: 12 kB / 477.2 MB, free: 8.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.906e-05/0.2843, allocations: 87.27 kB / 477.3 MB, free: 7.969 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2843, allocations: 0 / 477.3 MB, free: 7.969 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.2847, allocations: 67.81 kB / 477.4 MB, free: 7.902 MB / 446.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.0006012/0.2853, allocations: 263.7 kB / 477.6 MB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.2859, allocations: 346.4 kB / 478 MB, free: 7.293 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2859, allocations: 0 / 478 MB, free: 7.293 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.2862, allocations: 212.2 kB / 478.2 MB, free: 7.082 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.2868, allocations: 75.67 kB / 478.3 MB, free: 7.012 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.2877, allocations: 0.5291 MB / 478.8 MB, free: 6.453 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.2879, allocations: 135 kB / 478.9 MB, free: 6.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.288, allocations: 24.98 kB / 478.9 MB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.288, allocations: 20.5 kB / 479 MB, free: 6.258 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.288, allocations: 0 / 479 MB, free: 6.258 MB / 446.1 MB Notification: Performance of Templates: time 0.01253/0.3006, allocations: 5.553 MB / 484.5 MB, free: 0.7578 MB / 446.1 MB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.9249898419948295] Failed to read output from testmodel.py, exit status != 0: 0.499709083000198 0.511055791 0.233845716 Calling exit ...