Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001396/0.001396, 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.001247/0.001247, allocations: 190.5 kB / 16.14 MB, free: 6.688 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 472.6 MB / 0.7447 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 65.02 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3605, allocations: 159.9 MB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00293/0.3635, allocations: 1.52 MB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.3645, allocations: 0.5688 MB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.3645, allocations: 0 / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.3646, allocations: 3.938 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.3646, allocations: 8 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.3649, allocations: 43.89 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.3649, allocations: 15.94 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.244e-05/0.365, allocations: 11.98 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.3651, allocations: 19.86 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.3651, allocations: 15.92 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.3652, allocations: 0 / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3653, allocations: 51.95 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3653, allocations: 4 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.3653, allocations: 19.86 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.3655, allocations: 67.8 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.3655, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.61e-07/0.3655, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.3655, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 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.0003398/0.3658, allocations: 347.7 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.3659, allocations: 8.031 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.3659, allocations: 4.844 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.366, allocations: 168.4 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.366, allocations: 384 / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.366, allocations: 384 / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.3661, allocations: 49.98 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3662, allocations: 7.938 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3662, allocations: 0 / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-06/0.3662, allocations: 0 / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.3663, allocations: 19.98 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.3665, allocations: 264.8 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.094e-05/0.3666, allocations: 30.58 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.3667, allocations: 12.91 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007898/0.3675, allocations: 485.4 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3675, allocations: 34.5 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3675, allocations: 0 / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000227/0.3677, allocations: 61.69 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.3678, allocations: 55.39 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.3679, allocations: 106 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3679, allocations: 29.69 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.368, allocations: 88.14 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.368, allocations: 3.906 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.368, allocations: 17.72 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.3681, allocations: 318.8 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.3682, allocations: 4 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.3682, allocations: 23.92 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.605e-05/0.3683, allocations: 32.72 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3683, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/0.3684, allocations: 49.69 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3684, allocations: 4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3685, allocations: 4 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3685, allocations: 4 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.3685, allocations: 4 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3686, allocations: 4.094 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.3686, allocations: 7.891 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3686, allocations: 4 kB / 1.072 GB, free: 6.109 MB / 0.8262 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 6.924e-05/0.3687, allocations: 121.7 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3687, allocations: 4 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.3689, allocations: 61.2 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3689, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3689, allocations: 4.031 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3689, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.3691, allocations: 165.6 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3691, allocations: 0 / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.3691, allocations: 4 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3691, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.3691, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3691, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3691, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.3693, allocations: 163.4 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.3693, allocations: 81.02 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3694, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.09e-05/0.3694, allocations: 7.984 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.3695, allocations: 0 / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3695, allocations: 0 / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.3695, allocations: 95.25 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3695, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002329/0.3698, allocations: 20.03 kB / 1.073 GB, free: 5.293 MB / 0.8262 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.0001583/0.3699, allocations: 115.2 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.3701, allocations: 23.98 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3701, allocations: 3.938 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.3701, allocations: 12 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.3703, allocations: 3.938 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.3706, allocations: 124.5 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.3708, allocations: 0.6809 MB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.3709, allocations: 3.984 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.3709, allocations: 7.438 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3709, allocations: 0 / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of Templates: time 0.002529/0.3734, allocations: 0.6415 MB / 1.074 GB, free: 3.621 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)