Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001411/0.001411, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001434/0.001434, allocations: 193.6 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6218/0.6218, allocations: 95.48 MB / 364.8 MB, free: 10.17 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002219, allocations: 64.58 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.356, allocations: 69.08 MB / 0.5017 GB, free: 17.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002393/0.3584, allocations: 1.482 MB / 0.5031 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3595, allocations: 0.7647 MB / 0.5039 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.3595, allocations: 4 kB / 0.5039 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.3596, allocations: 0 / 0.5039 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.3597, allocations: 3.938 kB / 0.5039 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.36, allocations: 71.8 kB / 0.504 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.293e-05/0.36, allocations: 23.92 kB / 0.504 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.3601, allocations: 4 kB / 0.504 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.3602, allocations: 27.86 kB / 0.504 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.3602, allocations: 7.938 kB / 0.504 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.3603, allocations: 0 / 0.504 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.3604, allocations: 119.9 kB / 0.5041 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.3605, allocations: 8 kB / 0.5041 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.3605, allocations: 11.92 kB / 0.5042 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.3606, allocations: 93.88 kB / 0.5042 GB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3607, allocations: 8 kB / 0.5043 GB, free: 15.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3607, allocations: 0 / 0.5043 GB, free: 15.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3607, allocations: 0 / 0.5043 GB, free: 15.24 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000418/0.3611, allocations: 367.3 kB / 0.5046 GB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3611, allocations: 15.92 kB / 0.5046 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.3612, allocations: 8.922 kB / 0.5046 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.39e-05/0.3613, allocations: 164.3 kB / 0.5048 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3613, allocations: 3.938 kB / 0.5048 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3613, allocations: 4 kB / 0.5048 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3614, allocations: 41.69 kB / 0.5048 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3615, allocations: 0 / 0.5048 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3615, allocations: 4 kB / 0.5048 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3615, allocations: 0 / 0.5048 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.263e-05/0.3616, allocations: 19.98 kB / 0.5049 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.3619, allocations: 256.8 kB / 0.5051 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.362, allocations: 34.56 kB / 0.5051 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.362, allocations: 12.92 kB / 0.5051 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007132/0.3627, allocations: 1.354 MB / 0.5065 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3628, allocations: 30.56 kB / 0.5065 GB, free: 12.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3628, allocations: 0 / 0.5065 GB, free: 12.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002271/0.363, allocations: 69.61 kB / 0.5066 GB, free: 12.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.363, allocations: 55.41 kB / 0.5066 GB, free: 12.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.3631, allocations: 109.8 kB / 0.5067 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.3631, allocations: 25.7 kB / 0.5067 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.3632, allocations: 92.05 kB / 0.5068 GB, free: 12.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.3632, allocations: 7.922 kB / 0.5068 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.3632, allocations: 9.719 kB / 0.5069 GB, free: 12.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.3633, allocations: 326.9 kB / 0.5072 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.035e-05/0.3633, allocations: 7.984 kB / 0.5072 GB, free: 11.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.3634, allocations: 15.94 kB / 0.5072 GB, free: 11.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.766e-05/0.3634, allocations: 24.84 kB / 0.5072 GB, free: 11.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3635, allocations: 0 / 0.5072 GB, free: 11.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.716e-05/0.3636, allocations: 57.53 kB / 0.5073 GB, free: 11.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3636, allocations: 12.08 kB / 0.5073 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3636, allocations: 0 / 0.5073 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3636, allocations: 7.938 kB / 0.5073 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.3637, allocations: 4 kB / 0.5073 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3637, allocations: 0 / 0.5073 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.3637, allocations: 3.938 kB / 0.5073 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3637, allocations: 0 / 0.5073 GB, free: 11.59 MB / 382.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.957e-05/0.3638, allocations: 117.8 kB / 0.5074 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.3638, allocations: 0 / 0.5074 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.364, allocations: 77.09 kB / 0.5075 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.364, allocations: 3.984 kB / 0.5075 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.364, allocations: 0 / 0.5075 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.364, allocations: 7.938 kB / 0.5075 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.3642, allocations: 153.7 kB / 0.5076 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3642, allocations: 4 kB / 0.5076 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.3642, allocations: 7.984 kB / 0.5076 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3642, allocations: 0 / 0.5076 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3642, allocations: 0 / 0.5076 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3642, allocations: 4.031 kB / 0.5077 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3643, allocations: 0 / 0.5077 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.3644, allocations: 159.4 kB / 0.5078 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.3644, allocations: 77.11 kB / 0.5079 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.3644, allocations: 0 / 0.5079 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.3645, allocations: 4 kB / 0.5079 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.3645, allocations: 7.969 kB / 0.5079 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3645, allocations: 7.922 kB / 0.5079 GB, free: 10.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.887e-05/0.3646, allocations: 87.28 kB / 0.508 GB, free: 10.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3646, allocations: 0 / 0.508 GB, free: 10.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.3648, allocations: 15.98 kB / 0.508 GB, free: 10.77 MB / 382.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.0001577/0.365, allocations: 119.2 kB / 0.5081 GB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.3651, allocations: 19.98 kB / 0.5081 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3651, allocations: 4.062 kB / 0.5081 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.3652, allocations: 15.98 kB / 0.5081 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.3654, allocations: 6.344 kB / 0.5082 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.3657, allocations: 132.3 kB / 0.5083 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.3658, allocations: 0.677 MB / 0.5089 GB, free: 9.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.296e-05/0.3658, allocations: 8.062 kB / 0.5089 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.3659, allocations: 7.438 kB / 0.509 GB, free: 9.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3659, allocations: 0 / 0.509 GB, free: 9.73 MB / 382.1 MB Notification: Performance of Templates: time 0.002462/0.3683, allocations: 0.6181 MB / 0.5096 GB, free: 9.113 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)