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.00135/0.00135, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001506/0.001506, allocations: 212.6 kB / 23 MB, free: 4.57 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.01291/0.01291, allocations: 2.797 MB / 316 MB, free: 336 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.002211/0.002211, allocations: 59.91 kB / 439.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09986, allocations: 54.18 MB / 494.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02246/0.1223, allocations: 19.16 MB / 0.5013 GB, free: 3.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.126, allocations: 3.538 MB / 0.5047 GB, free: 100 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1261, allocations: 0 / 0.5047 GB, free: 100 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2102/0.3363, allocations: 289.8 kB / 0.505 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.3365, allocations: 87.94 kB / 0.5051 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.3383, allocations: 0.5927 MB / 0.5057 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.3385, allocations: 185.3 kB / 0.5058 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.3386, allocations: 11.03 kB / 0.5058 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.3387, allocations: 57.84 kB / 0.5059 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3388, allocations: 64.88 kB / 0.506 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3388, allocations: 3.094 kB / 0.506 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3899/0.7286, allocations: 42.37 MB / 0.5473 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.7287, allocations: 18.42 kB / 0.5474 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.7289, allocations: 84.52 kB / 0.5474 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.73, allocations: 366.5 kB / 0.5478 GB, free: 14.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.73, allocations: 0 / 0.5478 GB, free: 14.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.73, allocations: 0 / 0.5478 GB, free: 14.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.73, allocations: 4 kB / 0.5478 GB, free: 14.34 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.000607/0.7306, allocations: 422.4 kB / 0.5482 GB, free: 13.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.7307, allocations: 8.031 kB / 0.5482 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.7308, allocations: 37.3 kB / 0.5482 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.7309, allocations: 127.9 kB / 0.5484 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.7309, allocations: 3.812 kB / 0.5484 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.7309, allocations: 4 kB / 0.5484 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.7313, allocations: 254.3 kB / 0.5486 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7313, allocations: 4 kB / 0.5486 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.7313, allocations: 0 / 0.5486 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.7313, allocations: 15.55 kB / 0.5486 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.7316, allocations: 290.4 kB / 0.5489 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.7324, allocations: 0.5984 MB / 0.5495 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.7326, allocations: 199.7 kB / 0.5497 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.7327, allocations: 185 kB / 0.5499 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.205e-05/0.7328, allocations: 31.05 kB / 0.5499 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.7328, allocations: 30.56 kB / 0.5499 GB, free: 12.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 1.323e-06/0.7328, allocations: 0 / 0.5499 GB, free: 12.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.002979/0.7358, allocations: 0.7034 MB / 0.5506 GB, free: 12.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.7359, allocations: 59.34 kB / 0.5507 GB, free: 12.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.736, allocations: 103.5 kB / 0.5508 GB, free: 12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.736, allocations: 27.39 kB / 0.5508 GB, free: 11.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.736, allocations: 97.31 kB / 0.5509 GB, free: 11.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.7362, allocations: 212.8 kB / 0.5511 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.7362, allocations: 50.81 kB / 0.5511 GB, free: 11.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7364, allocations: 330.2 kB / 0.5514 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.7365, allocations: 178.3 kB / 0.5516 GB, free: 11.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.7368, allocations: 220.7 kB / 0.5518 GB, free: 11.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.7372, allocations: 451.4 kB / 0.5523 GB, free: 10.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7372, allocations: 0 / 0.5523 GB, free: 10.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005337/0.7377, allocations: 474.9 kB / 0.5527 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7377, allocations: 4 kB / 0.5527 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.7377, allocations: 4 kB / 0.5527 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.7377, allocations: 7.984 kB / 0.5527 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.7378, allocations: 16.03 kB / 0.5527 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7378, allocations: 4 kB / 0.5527 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.7379, allocations: 34.67 kB / 0.5528 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.7379, allocations: 4 kB / 0.5528 GB, free: 10.42 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.000107/0.738, allocations: 125.6 kB / 0.5529 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.7381, allocations: 15.86 kB / 0.5529 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/0.7386, allocations: 463.3 kB / 0.5534 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.7387, allocations: 11.92 kB / 0.5534 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7387, allocations: 4 kB / 0.5534 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7387, allocations: 0 / 0.5534 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.739, allocations: 319 kB / 0.5537 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.739, allocations: 0 / 0.5537 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.739, allocations: 8 kB / 0.5537 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.739, allocations: 0 / 0.5537 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.739, allocations: 0 / 0.5537 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.7391, allocations: 7.938 kB / 0.5537 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7391, allocations: 0 / 0.5537 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/0.7396, allocations: 0.5612 MB / 0.5542 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.7397, allocations: 27.73 kB / 0.5543 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.7397, allocations: 3.984 kB / 0.5543 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-05/0.7398, allocations: 8.125 kB / 0.5543 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.7398, allocations: 4 kB / 0.5543 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.7398, allocations: 7.984 kB / 0.5543 GB, free: 8.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.06e-05/0.7398, allocations: 79.27 kB / 0.5544 GB, free: 8.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7398, allocations: 0 / 0.5544 GB, free: 8.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.7403, allocations: 107.7 kB / 0.5545 GB, free: 8.625 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.0007341/0.741, allocations: 365.8 kB / 0.5548 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000598/0.7416, allocations: 452.3 kB / 0.5552 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7416, allocations: 0 / 0.5552 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.7418, allocations: 247 kB / 0.5555 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008095/0.7426, allocations: 128.1 kB / 0.5556 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.7435, allocations: 0.6242 MB / 0.5562 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.7439, allocations: 0.7622 MB / 0.557 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.744, allocations: 23.38 kB / 0.557 GB, free: 6.031 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.744, allocations: 0 / 0.557 GB, free: 6.031 MB / 398.1 MB Notification: Performance of Templates: time 0.007634/0.7516, allocations: 4.399 MB / 0.5613 GB, free: 1.645 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.706751597812399] Failed to read output from testmodel.py, exit status != 0: 0.7593806609511375 0.776084388 0.042656869 Calling exit ...