Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009697/0.0009697, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009467/0.0009468, allocations: 194.3 kB / 16.14 MB, free: 6.656 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.173/1.173, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 251.6 MB / 0.5088 GB, free: 3.262 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 68.22 kB / 0.6216 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3511, allocations: 104.7 MB / 0.7238 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002196/0.3533, allocations: 1.499 MB / 0.7253 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003654/0.3537, allocations: 196.3 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.3537, allocations: 0 / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.3537, allocations: 0 / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.3538, allocations: 11.92 kB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.354, allocations: 19.98 kB / 0.7255 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.753e-05/0.354, allocations: 19.92 kB / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/0.3541, allocations: 11.98 kB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.3541, allocations: 11.92 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.666e-05/0.3542, allocations: 19.92 kB / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.3542, allocations: 0 / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-05/0.3543, allocations: 35.95 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.3543, allocations: 0 / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.3543, allocations: 11.94 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.086e-05/0.3544, allocations: 43.86 kB / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3544, allocations: 0 / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.71e-07/0.3544, allocations: 4 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3544, allocations: 0 / 0.7256 GB, free: 11.35 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.0003734/0.3548, allocations: 345.5 kB / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.3549, allocations: 12.03 kB / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.3549, allocations: 4.844 kB / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.355, allocations: 168.3 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.355, allocations: 384 / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.355, allocations: 384 / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3552, allocations: 54.17 kB / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.3552, allocations: 192 / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3552, allocations: 3.938 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3552, allocations: 4 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3553, allocations: 35.95 kB / 0.7262 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.3556, allocations: 249 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.3557, allocations: 46.42 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/0.3558, allocations: 24.91 kB / 0.7265 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.232e-05/0.3559, allocations: 77.11 kB / 0.7266 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.3559, allocations: 38.56 kB / 0.7267 GB, free: 10.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3559, allocations: 3.938 kB / 0.7267 GB, free: 10.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003192/0.3563, allocations: 81.55 kB / 0.7267 GB, free: 10.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.3563, allocations: 55.53 kB / 0.7268 GB, free: 9.973 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.265e-05/0.3564, allocations: 105.8 kB / 0.7269 GB, free: 9.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.3564, allocations: 25.7 kB / 0.7269 GB, free: 9.828 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.3564, allocations: 88.14 kB / 0.727 GB, free: 9.738 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.3565, allocations: 3.906 kB / 0.727 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.3565, allocations: 13.72 kB / 0.727 GB, free: 9.715 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.3566, allocations: 322.8 kB / 0.7273 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.3567, allocations: 15.98 kB / 0.7273 GB, free: 9.375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.3567, allocations: 19.98 kB / 0.7274 GB, free: 9.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3569, allocations: 36.81 kB / 0.7274 GB, free: 9.316 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3569, allocations: 0 / 0.7274 GB, free: 9.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001747/0.3571, allocations: 69.55 kB / 0.7275 GB, free: 9.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3571, allocations: 13.97 kB / 0.7275 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3571, allocations: 0 / 0.7275 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3571, allocations: 3.984 kB / 0.7275 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.3572, allocations: 4 kB / 0.7275 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3572, allocations: 3.938 kB / 0.7275 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.3573, allocations: 7.984 kB / 0.7275 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3573, allocations: 4 kB / 0.7275 GB, free: 9.207 MB / 0.545 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.426e-05/0.3573, allocations: 113.8 kB / 0.7276 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.3574, allocations: 4 kB / 0.7276 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.3576, allocations: 72.78 kB / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3576, allocations: 0 / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3576, allocations: 3.984 kB / 0.7277 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.3576, allocations: 0 / 0.7277 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.3577, allocations: 157.6 kB / 0.7278 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3577, allocations: 4 kB / 0.7278 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.3578, allocations: 7.984 kB / 0.7278 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3578, allocations: 4.031 kB / 0.7278 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.3578, allocations: 0 / 0.7278 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3578, allocations: 0 / 0.7278 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3578, allocations: 7.938 kB / 0.7279 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.358, allocations: 167.6 kB / 0.728 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.3581, allocations: 81.09 kB / 0.7281 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3581, allocations: 8.031 kB / 0.7281 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.3582, allocations: 7.984 kB / 0.7281 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.3582, allocations: 0 / 0.7281 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.3582, allocations: 0 / 0.7281 GB, free: 8.484 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.3583, allocations: 91.27 kB / 0.7282 GB, free: 8.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3583, allocations: 0 / 0.7282 GB, free: 8.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002041/0.3585, allocations: 11.94 kB / 0.7282 GB, free: 8.383 MB / 0.545 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.0001159/0.3586, allocations: 107.2 kB / 0.7283 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.3588, allocations: 39.89 kB / 0.7283 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.3588, allocations: 0 / 0.7283 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.814e-05/0.3589, allocations: 19.98 kB / 0.7284 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.3591, allocations: 3.938 kB / 0.7284 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.3593, allocations: 123.3 kB / 0.7285 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3596, allocations: 0.677 MB / 0.7291 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.3597, allocations: 0 / 0.7291 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.3597, allocations: 7.438 kB / 0.7292 GB, free: 7.348 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3597, allocations: 0 / 0.7292 GB, free: 7.348 MB / 0.545 GB Notification: Performance of Templates: time 0.002006/0.3617, allocations: 0.511 MB / 0.7296 GB, free: 6.84 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)