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.0007456/0.0007456, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001064/0.001064, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8778/0.8778, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.007901/0.007901, allocations: 1.98 MB / 261.2 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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 384.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.402e-05, allocations: 10.16 kB / 384.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01315/0.01318, allocations: 17.09 MB / 401.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.01498, allocations: 3.059 MB / 404.8 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.01505, allocations: 0 / 404.8 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.01561, allocations: 250.4 kB / 405 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.01571, allocations: 87.19 kB / 405.1 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.01718, allocations: 0.6009 MB / 405.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.01735, allocations: 194.4 kB / 405.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.01741, allocations: 16.58 kB / 405.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.01749, allocations: 79.8 kB / 406 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.01757, allocations: 47.84 kB / 406.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.01759, allocations: 0 / 406.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2567/0.2743, allocations: 42.36 MB / 448.4 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.2743, allocations: 23.2 kB / 448.4 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2745, allocations: 50.69 kB / 448.5 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007459/0.2752, allocations: 367.9 kB / 448.8 MB, free: 6.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2752, allocations: 0 / 448.8 MB, free: 6.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2752, allocations: 0 / 448.8 MB, free: 6.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2752, allocations: 0 / 448.8 MB, free: 6.52 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.0004128/0.2756, allocations: 420.5 kB / 449.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2757, allocations: 8.031 kB / 449.3 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.479e-05/0.2757, allocations: 57.17 kB / 449.3 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.425e-05/0.2758, allocations: 31.22 kB / 449.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.506e-05/0.2759, allocations: 129.4 kB / 449.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2759, allocations: 8.25 kB / 449.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.2759, allocations: 4.375 kB / 449.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.2761, allocations: 250.6 kB / 449.7 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.2761, allocations: 3.938 kB / 449.7 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.2761, allocations: 4 kB / 449.7 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.2761, allocations: 12.62 kB / 449.8 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.2763, allocations: 288.1 kB / 450 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.2768, allocations: 0.5914 MB / 450.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.277, allocations: 202.8 kB / 450.8 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.277, allocations: 187.1 kB / 451 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.2771, allocations: 25.97 kB / 451 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.2771, allocations: 30.56 kB / 451.1 MB, free: 4.926 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 1.754e-06/0.2771, allocations: 0 / 451.1 MB, free: 4.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.0004486/0.2776, allocations: 0.7092 MB / 451.8 MB, free: 4.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.2776, allocations: 51.41 kB / 451.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.635e-05/0.2777, allocations: 111.6 kB / 451.9 MB, free: 4.316 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.2777, allocations: 29.7 kB / 452 MB, free: 4.281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.2777, allocations: 91.36 kB / 452 MB, free: 4.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.2777, allocations: 210.3 kB / 452.3 MB, free: 4.023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.2778, allocations: 49.22 kB / 452.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.446e-05/0.2778, allocations: 335.4 kB / 452.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/0.2779, allocations: 181.4 kB / 452.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.278, allocations: 222.4 kB / 453 MB, free: 3.445 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.2782, allocations: 441.5 kB / 453.5 MB, free: 3.156 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2782, allocations: 0 / 453.5 MB, free: 3.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002541/0.2785, allocations: 476.3 kB / 453.9 MB, free: 2.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2785, allocations: 4.094 kB / 453.9 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2785, allocations: 7.938 kB / 453.9 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2785, allocations: 4 kB / 453.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.2786, allocations: 14.89 kB / 454 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2786, allocations: 8.141 kB / 454 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.2786, allocations: 35.61 kB / 454 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2786, allocations: 4 kB / 454 MB, free: 2.613 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.48e-05/0.2787, allocations: 121.8 kB / 454.1 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.2787, allocations: 15.86 kB / 454.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.279, allocations: 464.8 kB / 454.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.279, allocations: 7.984 kB / 454.6 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.279, allocations: 4 kB / 454.6 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.279, allocations: 7.875 kB / 454.6 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.2792, allocations: 313 kB / 454.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2792, allocations: 0 / 454.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.2792, allocations: 8 kB / 454.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2792, allocations: 0 / 454.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2792, allocations: 0 / 454.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2792, allocations: 0 / 454.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2792, allocations: 0 / 454.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.2794, allocations: 0.5644 MB / 455.5 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.2795, allocations: 27.78 kB / 455.5 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.2795, allocations: 4 kB / 455.5 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.2795, allocations: 8 kB / 455.5 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.2795, allocations: 7.922 kB / 455.5 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2795, allocations: 7.938 kB / 455.5 MB, free: 1.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.445e-05/0.2796, allocations: 87.27 kB / 455.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2796, allocations: 0 / 455.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.2798, allocations: 99.7 kB / 455.7 MB, free: 0.8242 MB / 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.0007921/0.2806, allocations: 1.354 MB / 457.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003453/0.2809, allocations: 455.2 kB / 457.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2809, allocations: 0 / 457.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.2811, allocations: 252 kB / 457.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.2816, allocations: 140 kB / 457.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.2823, allocations: 0.6393 MB / 458.5 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.723e-05/0.2823, allocations: 159.7 kB / 458.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.399e-05/0.2824, allocations: 20.59 kB / 458.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.2825, allocations: 76.47 kB / 458.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2825, allocations: 0 / 458.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.305, allocations: 13.01 MB / 471.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/7.233, allocations: 10.77 kB / 471.8 MB, free: 0.7891 MB / 346.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.105690678581595] Failed to read output from testmodel.py, exit status != 0: 7.562193970195949 7.571625843 7.293903343 Calling exit ...