Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.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.0007629/0.0007629, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007708/0.0007708, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8783/0.8783, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.007782/0.007782, allocations: 1.978 MB / 261.9 MB, free: 11.27 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.Misc.RhoSmoothing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing") translateModel(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 385.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.981e-05, allocations: 2.281 kB / 385.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01448/0.0145, allocations: 17.1 MB / 403 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.01786, allocations: 3.04 MB / 406 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.01802, allocations: 0 / 406 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.0191, allocations: 250.4 kB / 406.3 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.0193, allocations: 91.17 kB / 406.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.02193, allocations: 0.6048 MB / 407 MB, free: 6.262 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.02233, allocations: 194.4 kB / 407.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.0225, allocations: 12.58 kB / 407.2 MB, free: 6.059 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.02268, allocations: 79.8 kB / 407.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.02292, allocations: 51.84 kB / 407.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.02297, allocations: 4 kB / 407.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.246/0.269, allocations: 42.36 MB / 449.7 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.269, allocations: 19.22 kB / 449.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.2691, allocations: 50.92 kB / 449.7 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000646/0.2697, allocations: 378.1 kB / 450.1 MB, free: 6.027 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2697, allocations: 4 kB / 450.1 MB, free: 6.023 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2698, allocations: 0 / 450.1 MB, free: 6.023 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2698, allocations: 0 / 450.1 MB, free: 6.023 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0003781/0.2701, allocations: 404.6 kB / 450.5 MB, free: 5.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2702, allocations: 19.97 kB / 450.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.964e-05/0.2703, allocations: 29.06 kB / 450.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.125e-05/0.2703, allocations: 129.2 kB / 450.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2703, allocations: 4.25 kB / 450.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.2703, allocations: 7.188 kB / 450.7 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2705, allocations: 253 kB / 450.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2705, allocations: 0 / 450.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.2705, allocations: 3.938 kB / 450.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.2705, allocations: 13.42 kB / 451 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.2707, allocations: 288.8 kB / 451.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.2711, allocations: 0.5521 MB / 451.8 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2713, allocations: 196.5 kB / 452 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.2714, allocations: 180.4 kB / 452.2 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.2714, allocations: 24.94 kB / 452.2 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.2714, allocations: 30.56 kB / 452.2 MB, free: 4.527 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 1.112e-06/0.2714, allocations: 0 / 452.2 MB, free: 4.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.0004177/0.2718, allocations: 0.7109 MB / 452.9 MB, free: 4.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.2719, allocations: 51.41 kB / 453 MB, free: 4.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.415e-05/0.2719, allocations: 104.5 kB / 453.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.2719, allocations: 29.39 kB / 453.1 MB, free: 3.891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.08e-05/0.2719, allocations: 97.34 kB / 453.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.272, allocations: 204.3 kB / 453.4 MB, free: 3.629 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.272, allocations: 57.86 kB / 453.5 MB, free: 3.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.831e-05/0.272, allocations: 331.6 kB / 453.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.2721, allocations: 187.5 kB / 454 MB, free: 3.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.794e-05/0.2722, allocations: 220.7 kB / 454.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.2724, allocations: 448.4 kB / 454.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2724, allocations: 0 / 454.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002343/0.2727, allocations: 479.3 kB / 455.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2727, allocations: 11.89 kB / 455.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2727, allocations: 0 / 455.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2727, allocations: 4 kB / 455.1 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.2728, allocations: 8 kB / 455.1 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2728, allocations: 4 kB / 455.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.2728, allocations: 23.73 kB / 455.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2728, allocations: 8 kB / 455.1 MB, free: 2.207 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (state_tbl.phase,state_spl.phase,state_std.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 5.263e-05/0.2729, allocations: 128.7 kB / 455.3 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.2729, allocations: 23.94 kB / 455.3 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.2731, allocations: 459.4 kB / 455.7 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2732, allocations: 7.984 kB / 455.8 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2732, allocations: 0 / 455.8 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2732, allocations: 4 kB / 455.8 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.2733, allocations: 272.7 kB / 456 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2733, allocations: 4 kB / 456 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.2733, allocations: 11.94 kB / 456 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2733, allocations: 3.984 kB / 456 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2733, allocations: 7.938 kB / 456 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2733, allocations: 4 kB / 456.1 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2733, allocations: 0 / 456.1 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.2735, allocations: 0.5626 MB / 456.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.2736, allocations: 19.78 kB / 456.6 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.2736, allocations: 4 kB / 456.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.277e-05/0.2736, allocations: 0 / 456.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.2736, allocations: 15.27 kB / 456.7 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.2736, allocations: 0 / 456.7 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.168e-05/0.2736, allocations: 79.47 kB / 456.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2736, allocations: 0 / 456.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.2739, allocations: 107.7 kB / 456.8 MB, free: 476 kB / 330.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: 3 (state_std.phase,state_spl.phase,state_tbl.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003883/0.2743, allocations: 367 kB / 457.2 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.2746, allocations: 455.4 kB / 457.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2746, allocations: 0 / 457.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.2747, allocations: 248.4 kB / 457.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.2752, allocations: 144.1 kB / 458 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.2757, allocations: 0.5901 MB / 458.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.261e-05/0.2758, allocations: 158.6 kB / 458.8 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.2759, allocations: 16.5 kB / 458.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2759, allocations: 8 kB / 458.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of Templates: time 0.00432/0.2802, allocations: 4.555 MB / 463.3 MB, free: 9.969 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.823773700743914] Failed to read output from testmodel.py, exit status != 0: 0.2854772275313735 0.293388852 0.021830921 Calling exit ...