Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009661/0.0009663, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007919/0.007919, allocations: 173.9 kB / 16.26 MB, free: 6.613 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 10.84 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3653, allocations: 162.2 MB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001816/0.3672, allocations: 1.162 MB / 1.075 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005111/0.3677, allocations: 203.4 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.3678, allocations: 0 / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.3678, allocations: 0 / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-05/0.3679, allocations: 0 / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.3681, allocations: 27.91 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.725e-05/0.3682, allocations: 23.94 kB / 1.076 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.3683, allocations: 7.984 kB / 1.076 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.3683, allocations: 4 kB / 1.076 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.3684, allocations: 19.91 kB / 1.076 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3684, allocations: 0 / 1.076 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.753e-05/0.3685, allocations: 35.91 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.3685, allocations: 0 / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.3686, allocations: 33.64 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3687, allocations: 43.86 kB / 1.076 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3687, allocations: 4 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3687, allocations: 4 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3687, allocations: 0 / 1.076 GB, free: 6.012 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.0004813/0.3692, allocations: 343.7 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3693, allocations: 12.03 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.3693, allocations: 0.9375 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3694, allocations: 164.4 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3695, allocations: 4.375 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.3695, allocations: 4.375 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3697, allocations: 54.19 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3697, allocations: 192 / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3697, allocations: 7.922 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3697, allocations: 0 / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.3699, allocations: 43.97 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.3703, allocations: 249 kB / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3704, allocations: 46.5 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.812e-05/0.3705, allocations: 32.84 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.868e-05/0.3706, allocations: 85.03 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3707, allocations: 34.56 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3707, allocations: 0 / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003883/0.3711, allocations: 101.5 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3711, allocations: 51.41 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.3712, allocations: 105.9 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.3712, allocations: 29.83 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.3713, allocations: 88.12 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.3713, allocations: 7.906 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.3713, allocations: 9.719 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3714, allocations: 310.8 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.3715, allocations: 23.98 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-05/0.3716, allocations: 27.91 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.3718, allocations: 48.83 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3718, allocations: 64 / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002052/0.372, allocations: 85.59 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.372, allocations: 4 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.372, allocations: 0 / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3721, allocations: 0 / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.3722, allocations: 16.02 kB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3722, allocations: 0 / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.3722, allocations: 11.94 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3722, allocations: 0 / 1.078 GB, free: 3.805 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 8.342e-05/0.3723, allocations: 117.7 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.3724, allocations: 4 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.3726, allocations: 84.77 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3726, allocations: 0 / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3726, allocations: 3.984 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3726, allocations: 0 / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.3728, allocations: 165.5 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3728, allocations: 0 / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.3729, allocations: 16.02 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3729, allocations: 0 / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3729, allocations: 0 / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3729, allocations: 3.938 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3729, allocations: 0 / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.3732, allocations: 187.3 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.3732, allocations: 77.11 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.3733, allocations: 3.984 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.3734, allocations: 8 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3734, allocations: 4 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3734, allocations: 3.984 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.3735, allocations: 83.56 kB / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3735, allocations: 0 / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002376/0.3737, allocations: 16 kB / 1.078 GB, free: 2.941 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.0001506/0.3739, allocations: 99.25 kB / 1.078 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.3741, allocations: 59.89 kB / 1.078 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3741, allocations: 0 / 1.078 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.3742, allocations: 19.98 kB / 1.078 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3745, allocations: 11.94 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.3748, allocations: 116.8 kB / 1.079 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3751, allocations: 0.6772 MB / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.3751, allocations: 7.891 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.3752, allocations: 7.438 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3752, allocations: 0 / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of Templates: time 0.003059/0.3782, allocations: 0.5126 MB / 1.08 GB, free: 1.375 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)