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.001265/0.001265, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001452/0.001452, allocations: 215.1 kB / 22.25 MB, free: 5.121 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.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.01218/0.01218, allocations: 2.808 MB / 315.2 MB, free: 312 kB / 238.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.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: 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.002066/0.002066, allocations: 63.91 kB / 439.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1103, allocations: 54.17 MB / 493.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02472/0.1351, allocations: 19.17 MB / 0.5005 GB, free: 3.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.1388, allocations: 3.53 MB / 0.504 GB, free: 92 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1389, allocations: 0 / 0.504 GB, free: 92 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2298/0.3687, allocations: 288.6 kB / 0.5042 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.3689, allocations: 88.28 kB / 0.5043 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.3709, allocations: 0.591 MB / 0.5049 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.3711, allocations: 183.1 kB / 0.5051 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.3712, allocations: 15.52 kB / 0.5051 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.3713, allocations: 56.77 kB / 0.5051 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.3714, allocations: 64.62 kB / 0.5052 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3715, allocations: 2.844 kB / 0.5052 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3551/0.7265, allocations: 42.37 MB / 0.5466 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.7266, allocations: 17.72 kB / 0.5466 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.7268, allocations: 84.61 kB / 0.5467 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.7279, allocations: 365.3 kB / 0.547 GB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7279, allocations: 0 / 0.547 GB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.7279, allocations: 0 / 0.547 GB, free: 14.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.7279, allocations: 0 / 0.547 GB, free: 14.32 MB / 398.1 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.0006405/0.7286, allocations: 422.1 kB / 0.5474 GB, free: 13.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.7286, allocations: 8.031 kB / 0.5474 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.7287, allocations: 37.16 kB / 0.5475 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.7289, allocations: 128 kB / 0.5476 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.7289, allocations: 3.812 kB / 0.5476 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.7289, allocations: 4 kB / 0.5476 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.7292, allocations: 256.7 kB / 0.5479 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7292, allocations: 0 / 0.5479 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.7292, allocations: 3.688 kB / 0.5479 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.7292, allocations: 11.36 kB / 0.5479 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.7295, allocations: 291.9 kB / 0.5481 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.731, allocations: 0.5973 MB / 0.5487 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.7313, allocations: 196.4 kB / 0.5489 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.7314, allocations: 183 kB / 0.5491 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.408e-05/0.7315, allocations: 30.33 kB / 0.5491 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.7315, allocations: 38.56 kB / 0.5492 GB, free: 12.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 1.303e-06/0.7315, allocations: 0 / 0.5492 GB, free: 12.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.002537/0.7341, allocations: 0.7067 MB / 0.5498 GB, free: 12.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.7341, allocations: 59.34 kB / 0.5499 GB, free: 12.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.7342, allocations: 108.9 kB / 0.55 GB, free: 11.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.7343, allocations: 25.7 kB / 0.55 GB, free: 11.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.7343, allocations: 89.34 kB / 0.5501 GB, free: 11.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.7345, allocations: 214.2 kB / 0.5503 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.7346, allocations: 49.62 kB / 0.5504 GB, free: 11.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.7347, allocations: 335.5 kB / 0.5507 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.7349, allocations: 178.9 kB / 0.5509 GB, free: 11.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.7351, allocations: 227.8 kB / 0.5511 GB, free: 11.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.7355, allocations: 442.9 kB / 0.5515 GB, free: 10.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7355, allocations: 0 / 0.5515 GB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004874/0.736, allocations: 473.1 kB / 0.552 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.736, allocations: 7.984 kB / 0.552 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.736, allocations: 0 / 0.552 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.7361, allocations: 4 kB / 0.552 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.7361, allocations: 15.22 kB / 0.552 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7361, allocations: 4 kB / 0.552 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.7362, allocations: 35.61 kB / 0.552 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.7362, allocations: 8.094 kB / 0.552 GB, free: 10.39 MB / 398.1 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 0.0001133/0.7363, allocations: 121.8 kB / 0.5521 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.7364, allocations: 19.84 kB / 0.5522 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.737, allocations: 458.3 kB / 0.5526 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.737, allocations: 11.92 kB / 0.5526 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.737, allocations: 0 / 0.5526 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.737, allocations: 0 / 0.5526 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.7374, allocations: 319.9 kB / 0.5529 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7374, allocations: 4 kB / 0.5529 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.7374, allocations: 12 kB / 0.5529 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7374, allocations: 0 / 0.5529 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.7374, allocations: 3.094 kB / 0.5529 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.7374, allocations: 7.938 kB / 0.5529 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7374, allocations: 0 / 0.5529 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.738, allocations: 0.551 MB / 0.5535 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.7381, allocations: 31.72 kB / 0.5535 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.7381, allocations: 4 kB / 0.5535 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.7382, allocations: 7.938 kB / 0.5535 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.7382, allocations: 0 / 0.5535 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.7382, allocations: 4 kB / 0.5535 GB, free: 8.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.008e-05/0.7382, allocations: 83.27 kB / 0.5536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7382, allocations: 4 kB / 0.5536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.7387, allocations: 106.7 kB / 0.5537 GB, free: 8.605 MB / 398.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: 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.0007842/0.7394, allocations: 374.9 kB / 0.5541 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006251/0.7401, allocations: 452.6 kB / 0.5545 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7401, allocations: 0 / 0.5545 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.7403, allocations: 244.2 kB / 0.5547 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.7412, allocations: 136 kB / 0.5549 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.7421, allocations: 0.5774 MB / 0.5554 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.7426, allocations: 0.7661 MB / 0.5562 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.506e-05/0.7427, allocations: 20.64 kB / 0.5562 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.7427, allocations: 19.44 kB / 0.5562 GB, free: 6.027 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.7427, allocations: 3 kB / 0.5562 GB, free: 6.027 MB / 398.1 MB Notification: Performance of Templates: time 0.01693/0.7596, allocations: 8.968 MB / 0.565 GB, free: 13.15 MB / 414.1 MB " [Timeout remaining time 659] 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: 6.83703594096005] Failed to read output from testmodel.py, exit status != 0: 0.7676088300067931 0.7836793519999999 0.052481486 Calling exit ...