Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.259/2.259, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 179.5 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.501/2.501, allocations: 205.4 MB / 0.5766 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 100.8 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004835, allocations: 19.02 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 106.3 MB / 0.8989 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.252/0.4584, allocations: 131.1 MB / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.4588, allocations: 83.92 kB / 1.027 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009318/0.4681, allocations: 2.034 MB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.43e-06/0.4682, allocations: 0 / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4682, allocations: 3.938 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004391/0.4687, allocations: 339.2 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4687, allocations: 8.031 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.4688, allocations: 4 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4689, allocations: 171 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.4689, allocations: 8 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.469, allocations: 4 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.4691, allocations: 37.69 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4691, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4692, allocations: 4 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4692, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.565e-05/0.4692, allocations: 15.98 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.4695, allocations: 169.5 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.4696, allocations: 46.62 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.4697, allocations: 81.11 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.4698, allocations: 34.69 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.4698, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001651/0.4715, allocations: 476.5 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4715, allocations: 51.41 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.4716, allocations: 93 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.4716, allocations: 33.69 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.4717, allocations: 80.14 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.4717, allocations: 23.56 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.4718, allocations: 4 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4719, allocations: 318.8 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.4719, allocations: 11.98 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.472, allocations: 11.98 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.4721, allocations: 20.11 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4721, allocations: 0 / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001715/0.4723, allocations: 73.69 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4723, allocations: 4 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4723, allocations: 0 / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4723, allocations: 3.938 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4725, allocations: 12 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4725, allocations: 0 / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.4725, allocations: 7.875 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.4726, allocations: 8 kB / 1.031 GB, free: 9.633 MB / 0.6823 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.389e-05/0.4727, allocations: 117.8 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.4727, allocations: 4 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.4729, allocations: 85.8 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.473, allocations: 4 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.473, allocations: 0 / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.473, allocations: 0 / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.4732, allocations: 169.6 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4732, allocations: 0 / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.4733, allocations: 15.98 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4733, allocations: 4 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4734, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4734, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4734, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.4736, allocations: 125.1 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.4737, allocations: 81.06 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.4737, allocations: 3.984 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.4738, allocations: 4.094 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.4738, allocations: 4 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4739, allocations: 8 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.4739, allocations: 75.28 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4739, allocations: 0 / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003202/0.4743, allocations: 43.92 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002927/0.4746, allocations: 143.2 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.4747, allocations: 40.02 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4747, allocations: 4 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.683e-05/0.4748, allocations: 19.98 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.4749, allocations: 4 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.4753, allocations: 156.6 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.4757, allocations: 0.6848 MB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.444e-05/0.4757, allocations: 8.188 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.4758, allocations: 11.44 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of SimCode: time 7.02e-07/0.4758, allocations: 0 / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of Templates: time 0.003822/0.4796, allocations: 0.7281 MB / 1.033 GB, free: 6.949 MB / 0.6823 GB