Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.001604/0.001604, allocations: 75.66 kB / 20.51 MB, free: 1.285 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.001703/0.001703, allocations: 161 kB / 23.76 MB, free: 4.469 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.419/1.419, allocations: 177.2 MB / 204.1 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9089/0.9089, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: IBPSA 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.002055/0.002055, allocations: 64.16 kB / 0.555 GB, free: 2.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1535, allocations: 89.15 MB / 0.6421 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002593/0.1561, allocations: 1.467 MB / 0.6435 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1571, allocations: 0.5767 MB / 0.6441 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.1572, allocations: 0 / 0.6441 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.1572, allocations: 3.938 kB / 0.6441 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.667e-05/0.1572, allocations: 3.938 kB / 0.6441 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.1575, allocations: 63.75 kB / 0.6442 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.047e-05/0.1576, allocations: 35.84 kB / 0.6442 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.521e-05/0.1577, allocations: 0 / 0.6442 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1578, allocations: 27.92 kB / 0.6442 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.1578, allocations: 15.92 kB / 0.6442 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1578, allocations: 4 kB / 0.6442 GB, free: 7.309 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1579, allocations: 51.95 kB / 0.6443 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.158, allocations: 7.922 kB / 0.6443 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.158, allocations: 11.94 kB / 0.6443 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1581, allocations: 67.73 kB / 0.6444 GB, free: 7.172 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1581, allocations: 4 kB / 0.6444 GB, free: 7.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1581, allocations: 0 / 0.6444 GB, free: 7.168 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1581, allocations: 0 / 0.6444 GB, free: 7.168 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004104/0.1585, allocations: 278.1 kB / 0.6446 GB, free: 6.867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.1586, allocations: 8.031 kB / 0.6446 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/0.176, allocations: 2.432 MB / 0.647 GB, free: 4.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.1763, allocations: 162.3 kB / 0.6472 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1763, allocations: 384 / 0.6472 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.1763, allocations: 384 / 0.6472 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006041/0.1824, allocations: 1.016 MB / 0.6482 GB, free: 3.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1824, allocations: 4 kB / 0.6482 GB, free: 3.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.1824, allocations: 3.938 kB / 0.6482 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1824, allocations: 0 / 0.6482 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.1941, allocations: 1.857 MB / 0.65 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007223/0.2013, allocations: 1.384 MB / 0.6513 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.2129, allocations: 1.887 MB / 0.6532 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005765/0.2186, allocations: 0.9335 MB / 0.6541 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.2186, allocations: 0 / 0.6541 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.2187, allocations: 38.55 kB / 0.6541 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2187, allocations: 0 / 0.6541 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.01718/0.2359, allocations: 2.741 MB / 0.6568 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.2359, allocations: 59.34 kB / 0.6569 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.236, allocations: 109.8 kB / 0.657 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.236, allocations: 29.7 kB / 0.657 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.2361, allocations: 84.14 kB / 0.6571 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.2361, allocations: 3.953 kB / 0.6571 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.2362, allocations: 33.67 kB / 0.6571 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2364, allocations: 310.8 kB / 0.6574 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005834/0.2422, allocations: 0.9326 MB / 0.6583 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005691/0.2479, allocations: 0.9326 MB / 0.6592 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/0.2585, allocations: 1.679 MB / 0.6609 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2585, allocations: 3.984 kB / 0.6609 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01116/0.2697, allocations: 1.816 MB / 0.6627 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2697, allocations: 9.562 kB / 0.6627 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2697, allocations: 0 / 0.6627 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2697, allocations: 4.031 kB / 0.6627 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/0.273, allocations: 459.5 kB / 0.6631 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.273, allocations: 4 kB / 0.6631 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/0.2762, allocations: 455.4 kB / 0.6635 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.2762, allocations: 7.969 kB / 0.6636 GB, free: 3.336 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001349/0.2763, allocations: 113.8 kB / 0.6637 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.2764, allocations: 4 kB / 0.6637 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/0.2765, allocations: 11.62 kB / 0.6637 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2765, allocations: 0 / 0.6637 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2765, allocations: 7.938 kB / 0.6637 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2765, allocations: 0 / 0.6637 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.2769, allocations: 246.1 kB / 0.6639 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2769, allocations: 7.938 kB / 0.6639 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003295/0.2802, allocations: 467.4 kB / 0.6644 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2802, allocations: 0 / 0.6644 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.2802, allocations: 7.984 kB / 0.6644 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2802, allocations: 0 / 0.6644 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2802, allocations: 3.984 kB / 0.6644 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.2917, allocations: 1.912 MB / 0.6662 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.2917, allocations: 7.938 kB / 0.6663 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.2917, allocations: 0 / 0.6663 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003159/0.2949, allocations: 455.5 kB / 0.6667 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.2949, allocations: 0 / 0.6667 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.2949, allocations: 11.98 kB / 0.6667 GB, free: 52 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.295, allocations: 95.58 kB / 0.6668 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.295, allocations: 0 / 0.6668 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003064/0.2953, allocations: 36 kB / 0.6668 GB, free: 15.92 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001227/0.2955, allocations: 99.25 kB / 0.6669 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01159/0.307, allocations: 1.877 MB / 0.6688 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3071, allocations: 0 / 0.6688 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005822/0.3129, allocations: 0.9326 MB / 0.6697 GB, free: 13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3131, allocations: 11.88 kB / 0.6697 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/0.3193, allocations: 1.045 MB / 0.6707 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.421e-05/0.3193, allocations: 63.34 kB / 0.6708 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002586/0.3196, allocations: 36 kB / 0.6708 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.3198, allocations: 20.47 kB / 0.6708 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.3198, allocations: 0 / 0.6708 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of Templates: time 0.005401/0.3252, allocations: 2.69 MB / 0.6734 GB, free: 9.078 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.373514135018922] Failed to read output from testmodel.py, exit status != 0: 0.33339413290377706 0.347886069 0.186707752 Calling exit ...