Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.499/2.499, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001468/0.001468, allocations: 174 kB / 325.6 MB, free: 2.805 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.514/2.514, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001107/0.001107, allocations: 94.11 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005064, allocations: 15.22 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2025, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.4344, allocations: 131.6 MB / 1.027 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.4347, allocations: 75.95 kB / 1.027 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006246/0.4409, allocations: 1.35 MB / 1.029 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.096e-06/0.441, allocations: 0 / 1.029 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.4411, allocations: 8 kB / 1.029 GB, free: 12.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001011/0.4421, allocations: 347.2 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.343e-05/0.4422, allocations: 8.031 kB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.4423, allocations: 11.92 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.4425, allocations: 170.9 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.4425, allocations: 0 / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.4425, allocations: 8 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.4428, allocations: 57.67 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4428, allocations: 0 / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4428, allocations: 0 / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4428, allocations: 0 / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.4431, allocations: 51.84 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.4437, allocations: 264.9 kB / 1.03 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.4439, allocations: 50.55 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.444, allocations: 77.11 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.4441, allocations: 34.62 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.4441, allocations: 0 / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005667/0.4446, allocations: 101.6 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.4447, allocations: 51.41 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.4448, allocations: 97 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4449, allocations: 25.7 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.4449, allocations: 84.25 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.445, allocations: 15.89 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.445, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.4452, allocations: 318.8 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.4453, allocations: 19.98 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.4455, allocations: 27.97 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.4456, allocations: 19.98 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4457, allocations: 0 / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003497/0.446, allocations: 81.67 kB / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.446, allocations: 7.984 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4461, allocations: 0 / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4461, allocations: 0 / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.4462, allocations: 8 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4462, allocations: 0 / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.4463, allocations: 11.98 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.4464, allocations: 4.031 kB / 1.031 GB, free: 10.62 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 (2): * Single equations (assignments): 2 * 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.871e-05/0.4465, allocations: 118.8 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.4465, allocations: 7.844 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.4469, allocations: 92.69 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4469, allocations: 0 / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4469, allocations: 0 / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.447, allocations: 0 / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.4472, allocations: 161.6 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4472, allocations: 3.984 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.4473, allocations: 11.98 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4473, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.4473, allocations: 4.25 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4474, allocations: 4 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4474, allocations: 4.031 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.4478, allocations: 171.5 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.4478, allocations: 77.11 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.4479, allocations: 4.031 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.448, allocations: 19.92 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.4481, allocations: 3.938 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.4481, allocations: 0 / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.163e-05/0.4481, allocations: 83.27 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4481, allocations: 0 / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003223/0.4485, allocations: 19.94 kB / 1.031 GB, free: 9.746 MB / 0.6823 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 (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.0002158/0.4487, allocations: 111.2 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.4491, allocations: 43.95 kB / 1.032 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4491, allocations: 0 / 1.032 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.4493, allocations: 24.05 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.4495, allocations: 14.02 kB / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.4499, allocations: 116.6 kB / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.4502, allocations: 0.677 MB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.043e-05/0.4503, allocations: 7.969 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.4503, allocations: 11.44 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.4503, allocations: 0 / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of Templates: time 0.003235/0.4536, allocations: 471.7 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB