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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009829, allocations: 92.86 kB / 16.67 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 185.8 kB / 17.58 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.729/0.729, allocations: 115.5 MB / 408.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3732, allocations: 77.51 MB / 0.5606 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002054/0.3752, allocations: 1.179 MB / 0.5617 GB, free: 34.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3764, allocations: 0.5571 MB / 0.5623 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.3765, allocations: 1.125 kB / 0.5623 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.3765, allocations: 0 / 0.5623 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.054e-05/0.3766, allocations: 5.281 kB / 0.5623 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.3769, allocations: 40.61 kB / 0.5623 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.377, allocations: 22.19 kB / 0.5623 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3771, allocations: 6.375 kB / 0.5623 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3772, allocations: 12.3 kB / 0.5624 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.3773, allocations: 15.58 kB / 0.5624 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3773, allocations: 3.281 kB / 0.5624 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.3775, allocations: 55.97 kB / 0.5624 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.3775, allocations: 4.328 kB / 0.5624 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.3776, allocations: 36.08 kB / 0.5625 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.3777, allocations: 46.47 kB / 0.5625 GB, free: 34.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3777, allocations: 1.219 kB / 0.5625 GB, free: 34.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3777, allocations: 0.9688 kB / 0.5625 GB, free: 34.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3777, allocations: 3.938 kB / 0.5625 GB, free: 34.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004061/0.3782, allocations: 348.2 kB / 0.5628 GB, free: 33.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3782, allocations: 13.47 kB / 0.5629 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.3783, allocations: 4.312 kB / 0.5629 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.74e-05/0.3783, allocations: 168.5 kB / 0.563 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3784, allocations: 2.812 kB / 0.563 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.3784, allocations: 1.469 kB / 0.563 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.3785, allocations: 50.42 kB / 0.5631 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3785, allocations: 0 / 0.5631 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3786, allocations: 0.5 kB / 0.5631 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3786, allocations: 1.125 kB / 0.5631 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.326e-05/0.3787, allocations: 23.86 kB / 0.5631 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.379, allocations: 259.3 kB / 0.5633 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.3791, allocations: 30.28 kB / 0.5634 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.3791, allocations: 25.86 kB / 0.5634 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007459/0.3799, allocations: 498.5 kB / 0.5639 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3799, allocations: 36.69 kB / 0.5639 GB, free: 32.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.3799, allocations: 0 / 0.5639 GB, free: 32.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002485/0.3802, allocations: 73.56 kB / 0.564 GB, free: 32.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.3802, allocations: 52.66 kB / 0.564 GB, free: 32.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.3803, allocations: 117.5 kB / 0.5641 GB, free: 32.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.425e-06/0.3803, allocations: 25.7 kB / 0.5642 GB, free: 32.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.3803, allocations: 82.17 kB / 0.5642 GB, free: 32.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3804, allocations: 12.84 kB / 0.5643 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.3804, allocations: 10.81 kB / 0.5643 GB, free: 32.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.3804, allocations: 314.1 kB / 0.5646 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.3805, allocations: 11.17 kB / 0.5646 GB, free: 32.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.3805, allocations: 16.52 kB / 0.5646 GB, free: 32.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.361e-05/0.3806, allocations: 35.72 kB / 0.5646 GB, free: 32.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3806, allocations: 0 / 0.5646 GB, free: 32.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000118/0.3808, allocations: 64.44 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3808, allocations: 5.125 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3808, allocations: 1.875 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3808, allocations: 1.062 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.3809, allocations: 12.09 kB / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3809, allocations: 0 / 0.5647 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.3809, allocations: 8.156 kB / 0.5647 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3809, allocations: 1.844 kB / 0.5647 GB, free: 31.97 MB / 446.1 MB 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 5.048e-05/0.381, allocations: 115.3 kB / 0.5648 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.381, allocations: 5.422 kB / 0.5648 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.3812, allocations: 73.44 kB / 0.5649 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3812, allocations: 2.047 kB / 0.5649 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3812, allocations: 1.75 kB / 0.5649 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3812, allocations: 0 / 0.5649 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3813, allocations: 166.4 kB / 0.5651 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3813, allocations: 0 / 0.5651 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.3814, allocations: 8.234 kB / 0.5651 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3814, allocations: 1.344 kB / 0.5651 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3814, allocations: 2 kB / 0.5651 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3814, allocations: 0 / 0.5651 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3814, allocations: 1.953 kB / 0.5651 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.3816, allocations: 157.8 kB / 0.5652 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.3816, allocations: 79.95 kB / 0.5653 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.3816, allocations: 1.984 kB / 0.5653 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/0.3817, allocations: 7.312 kB / 0.5653 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.3817, allocations: 2.547 kB / 0.5653 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3817, allocations: 3.938 kB / 0.5653 GB, free: 31.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.846e-05/0.3818, allocations: 90 kB / 0.5654 GB, free: 31.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3818, allocations: 0 / 0.5654 GB, free: 31.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.382, allocations: 13.38 kB / 0.5654 GB, free: 31.28 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: 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.0001326/0.3821, allocations: 118.4 kB / 0.5655 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.3823, allocations: 29.61 kB / 0.5656 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3823, allocations: 0 / 0.5656 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.3823, allocations: 12.61 kB / 0.5656 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.3826, allocations: 7.344 kB / 0.5656 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.3828, allocations: 174.4 kB / 0.5657 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.3829, allocations: 0.6809 MB / 0.5664 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.383, allocations: 9.812 kB / 0.5664 GB, free: 30.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.383, allocations: 0 / 0.5664 GB, free: 30.31 MB / 446.1 MB Notification: Performance of Templates: time 0.002321/0.3853, allocations: 0.7961 MB / 0.5672 GB, free: 30.29 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)