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.001753/0.001753, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00263/0.00263, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.801 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.01782/0.01782, allocations: 2.818 MB / 315.2 MB, free: 104 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.002024/0.002024, allocations: 67.91 kB / 439.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1192, allocations: 54.17 MB / 493.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02409/0.1433, allocations: 17.16 MB / 0.4985 GB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003891/0.1472, allocations: 3.044 MB / 0.5015 GB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.1474, allocations: 3.938 kB / 0.5015 GB, free: 2.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008852/0.1482, allocations: 238.6 kB / 0.5017 GB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1485, allocations: 87.25 kB / 0.5018 GB, free: 1.953 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.1506, allocations: 0.5779 MB / 0.5024 GB, free: 1.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.1509, allocations: 190.6 kB / 0.5025 GB, free: 1.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.306e-05/0.151, allocations: 8.594 kB / 0.5025 GB, free: 1.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.1511, allocations: 47.81 kB / 0.5026 GB, free: 1.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1512, allocations: 67.61 kB / 0.5027 GB, free: 1.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1512, allocations: 0 / 0.5027 GB, free: 1.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6005/0.7517, allocations: 42.37 MB / 0.544 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.7517, allocations: 11.88 kB / 0.544 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.7519, allocations: 74.2 kB / 0.5441 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.7535, allocations: 373.7 kB / 0.5445 GB, free: 2.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7535, allocations: 0 / 0.5445 GB, free: 2.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.7535, allocations: 0 / 0.5445 GB, free: 2.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.7535, allocations: 0 / 0.5445 GB, free: 2.637 MB / 382.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.0007139/0.7542, allocations: 410.4 kB / 0.5449 GB, free: 2.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.7543, allocations: 12.03 kB / 0.5449 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.7545, allocations: 30.67 kB / 0.5449 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.7546, allocations: 133.2 kB / 0.545 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.7546, allocations: 0.75 kB / 0.545 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.7546, allocations: 7.812 kB / 0.545 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.755, allocations: 260.5 kB / 0.5453 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.755, allocations: 0 / 0.5453 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.755, allocations: 1.812 kB / 0.5453 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.7551, allocations: 12.16 kB / 0.5453 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.7554, allocations: 290.2 kB / 0.5456 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.7563, allocations: 0.5447 MB / 0.5461 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.7566, allocations: 204 kB / 0.5463 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.7568, allocations: 179.2 kB / 0.5465 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.56e-05/0.7569, allocations: 24.25 kB / 0.5465 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.7569, allocations: 30.56 kB / 0.5465 GB, free: 1.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.084e-06/0.7569, allocations: 4 kB / 0.5465 GB, free: 1.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.004075/0.761, allocations: 0.7077 MB / 0.5472 GB, free: 0.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.7611, allocations: 51.41 kB / 0.5473 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.7612, allocations: 107.8 kB / 0.5474 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.7612, allocations: 25.7 kB / 0.5474 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.7612, allocations: 95.7 kB / 0.5475 GB, free: 424 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.7614, allocations: 209.8 kB / 0.5477 GB, free: 252 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.7614, allocations: 49.12 kB / 0.5477 GB, free: 216 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.7616, allocations: 335.7 kB / 0.5481 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.7618, allocations: 181.2 kB / 0.5482 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.762, allocations: 224.4 kB / 0.5484 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.7625, allocations: 448.4 kB / 0.5489 GB, free: 15.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7625, allocations: 0 / 0.5489 GB, free: 15.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005478/0.763, allocations: 479.6 kB / 0.5493 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.763, allocations: 4 kB / 0.5493 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.763, allocations: 0 / 0.5493 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.7631, allocations: 4 kB / 0.5493 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.7632, allocations: 14.72 kB / 0.5493 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.7632, allocations: 7.938 kB / 0.5494 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.7632, allocations: 31.05 kB / 0.5494 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.7633, allocations: 4 kB / 0.5494 GB, free: 15.05 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.0001319/0.7634, allocations: 127.5 kB / 0.5495 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.7634, allocations: 15.86 kB / 0.5495 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005565/0.764, allocations: 456.7 kB / 0.55 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.764, allocations: 4.172 kB / 0.55 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.764, allocations: 7.938 kB / 0.55 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.764, allocations: 7.984 kB / 0.55 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.7644, allocations: 273.5 kB / 0.5502 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7644, allocations: 0 / 0.5502 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.7644, allocations: 15.36 kB / 0.5503 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7644, allocations: 0 / 0.5503 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.7644, allocations: 4 kB / 0.5503 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7644, allocations: 0 / 0.5503 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7644, allocations: 3.938 kB / 0.5503 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.765, allocations: 0.5626 MB / 0.5508 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.7651, allocations: 23.78 kB / 0.5508 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.7651, allocations: 0 / 0.5508 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.7651, allocations: 4 kB / 0.5508 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.7652, allocations: 7.984 kB / 0.5508 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.7652, allocations: 7.875 kB / 0.5509 GB, free: 13.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.7652, allocations: 83.28 kB / 0.5509 GB, free: 13.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7652, allocations: 0 / 0.5509 GB, free: 13.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004259/0.7657, allocations: 103.8 kB / 0.551 GB, free: 13.42 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.001791/0.7674, allocations: 376.1 kB / 0.5514 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007603/0.7682, allocations: 451 kB / 0.5518 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7682, allocations: 0 / 0.5518 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.7685, allocations: 245.2 kB / 0.5521 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.7694, allocations: 135.9 kB / 0.5522 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.7704, allocations: 0.5852 MB / 0.5528 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.7706, allocations: 156.8 kB / 0.5529 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.7708, allocations: 24.62 kB / 0.5529 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.7708, allocations: 19.44 kB / 0.5529 GB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 1.363e-06/0.7708, allocations: 0 / 0.5529 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Templates: time 0.01881/0.7896, allocations: 9.154 MB / 0.5619 GB, free: 2.438 MB / 398.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: 7.706187715753913] Failed to read output from testmodel.py, exit status != 0: 0.8001360837370157 0.820580927 0.063218405 Calling exit ...