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.0008066/0.0008065, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004457/0.004457, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.197/1.197, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.347/1.347, allocations: 252 MB / 0.5105 GB, free: 4.602 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.0004374/0.0004374, allocations: 16 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.375, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001383/0.3764, allocations: 1.172 MB / 0.7299 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003898/0.3769, allocations: 188.4 kB / 0.73 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.3769, allocations: 7.938 kB / 0.73 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.3769, allocations: 0 / 0.73 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.232e-05/0.377, allocations: 4 kB / 0.7301 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.3772, allocations: 27.91 kB / 0.7301 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.244e-05/0.3772, allocations: 19.92 kB / 0.7301 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.318e-05/0.3773, allocations: 4 kB / 0.7301 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.673e-05/0.3773, allocations: 15.92 kB / 0.7301 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.3774, allocations: 7.938 kB / 0.7301 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.3774, allocations: 0 / 0.7301 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.031e-05/0.3775, allocations: 31.97 kB / 0.7302 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.3775, allocations: 11.97 kB / 0.7302 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.3776, allocations: 37.64 kB / 0.7302 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.339e-05/0.3776, allocations: 35.94 kB / 0.7302 GB, free: 9.723 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3777, allocations: 0 / 0.7302 GB, free: 9.723 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3777, allocations: 3.938 kB / 0.7302 GB, free: 9.719 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.3777, allocations: 0 / 0.7302 GB, free: 9.719 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.0003797/0.3781, allocations: 345.5 kB / 0.7306 GB, free: 9.332 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.3781, allocations: 8.031 kB / 0.7306 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.3781, allocations: 4.938 kB / 0.7306 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3782, allocations: 176.2 kB / 0.7308 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.3783, allocations: 384 / 0.7308 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3783, allocations: 4.375 kB / 0.7308 GB, free: 9.105 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3784, allocations: 54.23 kB / 0.7308 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.3785, allocations: 192 / 0.7308 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3785, allocations: 3.938 kB / 0.7308 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3785, allocations: 3.938 kB / 0.7308 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.3786, allocations: 51.94 kB / 0.7309 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.3789, allocations: 245 kB / 0.7311 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.3791, allocations: 54.48 kB / 0.7311 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.3792, allocations: 28.91 kB / 0.7312 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.3792, allocations: 77.11 kB / 0.7313 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.3793, allocations: 34.5 kB / 0.7313 GB, free: 8.469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3793, allocations: 4 kB / 0.7313 GB, free: 8.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003341/0.3796, allocations: 97.64 kB / 0.7314 GB, free: 8.363 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.3797, allocations: 55.53 kB / 0.7314 GB, free: 8.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.3797, allocations: 105.8 kB / 0.7315 GB, free: 8.184 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3797, allocations: 25.7 kB / 0.7316 GB, free: 8.152 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.3798, allocations: 84.08 kB / 0.7316 GB, free: 8.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.3798, allocations: 7.906 kB / 0.7316 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/0.3798, allocations: 9.719 kB / 0.7317 GB, free: 8.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.3799, allocations: 318.8 kB / 0.732 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.38, allocations: 23.98 kB / 0.732 GB, free: 7.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.3801, allocations: 19.98 kB / 0.732 GB, free: 7.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3803, allocations: 56.83 kB / 0.7321 GB, free: 7.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3803, allocations: 0 / 0.7321 GB, free: 7.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.3805, allocations: 85.5 kB / 0.7321 GB, free: 7.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3805, allocations: 9.562 kB / 0.7321 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3805, allocations: 4.031 kB / 0.7322 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.3805, allocations: 3.938 kB / 0.7322 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.3806, allocations: 11.98 kB / 0.7322 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.3806, allocations: 0 / 0.7322 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.3807, allocations: 11.98 kB / 0.7322 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.3807, allocations: 0 / 0.7322 GB, free: 7.492 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.188e-05/0.3807, allocations: 113.8 kB / 0.7323 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.3808, allocations: 4 kB / 0.7323 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.381, allocations: 84.72 kB / 0.7324 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.381, allocations: 0 / 0.7324 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.381, allocations: 0 / 0.7324 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.381, allocations: 4.031 kB / 0.7324 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3811, allocations: 161.8 kB / 0.7325 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3812, allocations: 4 kB / 0.7325 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.3812, allocations: 15.98 kB / 0.7325 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3812, allocations: 0 / 0.7325 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.3812, allocations: 0 / 0.7325 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3812, allocations: 0 / 0.7325 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3812, allocations: 0 / 0.7325 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.3815, allocations: 179.4 kB / 0.7327 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.3815, allocations: 85.02 kB / 0.7328 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-06/0.3815, allocations: 0 / 0.7328 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.3816, allocations: 12.02 kB / 0.7328 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.3816, allocations: 4 kB / 0.7328 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.3816, allocations: 0 / 0.7328 GB, free: 6.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.3817, allocations: 83.28 kB / 0.7329 GB, free: 6.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3817, allocations: 0 / 0.7329 GB, free: 6.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000205/0.3819, allocations: 11.98 kB / 0.7329 GB, free: 6.648 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.0001576/0.3821, allocations: 103.2 kB / 0.733 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3823, allocations: 51.95 kB / 0.7331 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3823, allocations: 0 / 0.7331 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.764e-05/0.3824, allocations: 27.92 kB / 0.7331 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.3826, allocations: 16 kB / 0.7331 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.3829, allocations: 116.6 kB / 0.7332 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.3831, allocations: 0.6731 MB / 0.7339 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.3832, allocations: 0 / 0.7339 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.3832, allocations: 15.42 kB / 0.7339 GB, free: 5.59 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.3832, allocations: 0 / 0.7339 GB, free: 5.59 MB / 0.545 GB Notification: Performance of Templates: time 0.002477/0.3857, allocations: 0.5074 MB / 0.7344 GB, free: 5.086 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: