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.001853/0.001853, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002075/0.002075, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.546/1.546, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.01851/0.01851, allocations: 1.996 MB / 261.8 MB, free: 14.7 MB / 254.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.002418/0.002418, allocations: 66.7 kB / 385.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1145, allocations: 54.14 MB / 439.8 MB, free: 12.22 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02278/0.1372, allocations: 17.17 MB / 457 MB, free: 10.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.1406, allocations: 3.056 MB / 460 MB, free: 7.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.1407, allocations: 0 / 460 MB, free: 7.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007484/0.1414, allocations: 234.5 kB / 460.2 MB, free: 7.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.1416, allocations: 87.3 kB / 460.3 MB, free: 7.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1432, allocations: 0.5857 MB / 460.9 MB, free: 7.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.1435, allocations: 186.6 kB / 461.1 MB, free: 6.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.357e-05/0.1435, allocations: 8.594 kB / 461.1 MB, free: 6.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.603e-05/0.1436, allocations: 51.8 kB / 461.1 MB, free: 6.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.1437, allocations: 67.59 kB / 461.2 MB, free: 6.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1438, allocations: 4 kB / 461.2 MB, free: 6.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.652/0.7958, allocations: 42.36 MB / 0.4918 GB, free: 66.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.7958, allocations: 14.89 kB / 0.4918 GB, free: 66.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.796, allocations: 69.91 kB / 0.4919 GB, free: 66.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.7973, allocations: 370 kB / 0.4922 GB, free: 66.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7973, allocations: 0 / 0.4922 GB, free: 66.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7973, allocations: 0 / 0.4922 GB, free: 66.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.7973, allocations: 0 / 0.4922 GB, free: 66.33 MB / 446.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.0005816/0.7979, allocations: 420 kB / 0.4926 GB, free: 66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.798, allocations: 9 kB / 0.4926 GB, free: 66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.7981, allocations: 34.56 kB / 0.4926 GB, free: 65.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.309e-05/0.7982, allocations: 127.2 kB / 0.4928 GB, free: 65.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.7982, allocations: 3.094 kB / 0.4928 GB, free: 65.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.7982, allocations: 7.844 kB / 0.4928 GB, free: 65.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.7985, allocations: 249.9 kB / 0.493 GB, free: 65.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7985, allocations: 0 / 0.493 GB, free: 65.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.7986, allocations: 1.156 kB / 0.493 GB, free: 65.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.7986, allocations: 13.42 kB / 0.493 GB, free: 65.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.7989, allocations: 294.3 kB / 0.4933 GB, free: 65.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.7996, allocations: 0.5438 MB / 0.4938 GB, free: 65.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.7999, allocations: 198.4 kB / 0.494 GB, free: 65.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.8001, allocations: 186.5 kB / 0.4942 GB, free: 65.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.604e-05/0.8002, allocations: 23.19 kB / 0.4942 GB, free: 65.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.8002, allocations: 32.41 kB / 0.4943 GB, free: 65.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 1.393e-06/0.8002, allocations: 0 / 0.4943 GB, free: 65.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=63): time 0.003604/0.8038, allocations: 0.7104 MB / 0.495 GB, free: 65.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.8039, allocations: 52.78 kB / 0.495 GB, free: 65.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.8039, allocations: 110 kB / 0.4951 GB, free: 65.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.8039, allocations: 25.7 kB / 0.4951 GB, free: 65.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.804, allocations: 94.91 kB / 0.4952 GB, free: 65.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.8041, allocations: 212.7 kB / 0.4954 GB, free: 64.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.8041, allocations: 53.27 kB / 0.4955 GB, free: 64.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.8042, allocations: 336.2 kB / 0.4958 GB, free: 64.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.8044, allocations: 178.9 kB / 0.496 GB, free: 64.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.8046, allocations: 224.3 kB / 0.4962 GB, free: 64.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.805, allocations: 441.3 kB / 0.4966 GB, free: 64.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.805, allocations: 1.188 kB / 0.4966 GB, free: 64.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004632/0.8054, allocations: 477.2 kB / 0.4971 GB, free: 64.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.8054, allocations: 9.75 kB / 0.4971 GB, free: 64.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8055, allocations: 1.25 kB / 0.4971 GB, free: 64.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.8055, allocations: 1.375 kB / 0.4971 GB, free: 64.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.873e-05/0.8056, allocations: 13.66 kB / 0.4971 GB, free: 64.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.8056, allocations: 8.219 kB / 0.4971 GB, free: 64.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.8057, allocations: 29.77 kB / 0.4971 GB, free: 64.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.8057, allocations: 4.625 kB / 0.4971 GB, free: 64.46 MB / 446.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 7.625e-05/0.8058, allocations: 128.3 kB / 0.4973 GB, free: 64.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.8058, allocations: 20.83 kB / 0.4973 GB, free: 64.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.8063, allocations: 464.1 kB / 0.4977 GB, free: 64.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.8063, allocations: 9.828 kB / 0.4977 GB, free: 64.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8063, allocations: 3.938 kB / 0.4977 GB, free: 64.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.8063, allocations: 5.469 kB / 0.4977 GB, free: 64.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.8066, allocations: 273.4 kB / 0.498 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8066, allocations: 1.469 kB / 0.498 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.8066, allocations: 4.312 kB / 0.498 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8066, allocations: 1.781 kB / 0.498 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.8066, allocations: 1.219 kB / 0.498 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8066, allocations: 0 / 0.498 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8066, allocations: 1.125 kB / 0.498 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.8071, allocations: 0.5695 MB / 0.4986 GB, free: 63.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.8071, allocations: 22.81 kB / 0.4986 GB, free: 63.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.8071, allocations: 1.25 kB / 0.4986 GB, free: 63.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.8072, allocations: 3.812 kB / 0.4986 GB, free: 63.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.8072, allocations: 6.781 kB / 0.4986 GB, free: 63.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.8073, allocations: 6.281 kB / 0.4986 GB, free: 63.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.8073, allocations: 82.31 kB / 0.4987 GB, free: 63.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8073, allocations: 0 / 0.4987 GB, free: 63.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.8078, allocations: 105.4 kB / 0.4988 GB, free: 63.84 MB / 446.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.0007529/0.8085, allocations: 359.2 kB / 0.4991 GB, free: 63.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005564/0.8091, allocations: 452.7 kB / 0.4996 GB, free: 63.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8091, allocations: 0 / 0.4996 GB, free: 63.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.8094, allocations: 251 kB / 0.4998 GB, free: 63.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008189/0.8102, allocations: 138.9 kB / 0.4999 GB, free: 63.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.811, allocations: 0.5839 MB / 0.5005 GB, free: 63.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.8112, allocations: 159.7 kB / 0.5006 GB, free: 63.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.8113, allocations: 23.44 kB / 0.5007 GB, free: 63.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.8113, allocations: 23.25 kB / 0.5007 GB, free: 63.2 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.8113, allocations: 1.094 kB / 0.5007 GB, free: 63.2 MB / 446.1 MB Notification: Performance of Templates: time 0.01423/0.8256, allocations: 8.784 MB / 0.5093 GB, free: 62.08 MB / 446.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 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.983703865087591] Failed to read output from testmodel.py, exit status != 0: 0.8343505200464278 0.844427764 0.044707006 Calling exit ...