Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.706/2.706, allocations: 287.9 MB / 302.9 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 171.2 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.347/2.347, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 88.77 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.000502, allocations: 17.16 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1547, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001381/0.1562, allocations: 1.148 MB / 0.9799 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.1565, allocations: 180.4 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.1566, allocations: 4 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.1566, allocations: 7.922 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.1566, allocations: 0 / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.1568, allocations: 23.97 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.557e-05/0.1569, allocations: 11.98 kB / 0.9801 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.603e-05/0.157, allocations: 11.92 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.194e-05/0.157, allocations: 8 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.1571, allocations: 11.92 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1571, allocations: 4 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.05e-05/0.1572, allocations: 27.97 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.846e-06/0.1572, allocations: 3.938 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.1572, allocations: 29.7 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.207e-05/0.1573, allocations: 23.94 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.561e-06/0.1573, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.474e-06/0.1573, allocations: 4 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.796e-06/0.1573, allocations: 0 / 0.9802 GB, free: 26.7 MB / 0.6198 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.0003402/0.1577, allocations: 355.5 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1577, allocations: 12.02 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.1578, allocations: 4 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.596e-05/0.1579, allocations: 167 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1579, allocations: 3.984 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1579, allocations: 4 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1581, allocations: 61.61 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.732e-06/0.1581, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.391e-06/0.1581, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-06/0.1581, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1583, allocations: 39.97 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.1586, allocations: 256.9 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1588, allocations: 42.5 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.157e-05/0.1589, allocations: 85.09 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1589, allocations: 38.62 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.1589, allocations: 0 / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003844/0.1593, allocations: 101.6 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.1593, allocations: 51.41 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.1594, allocations: 97.86 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.679e-06/0.1594, allocations: 29.7 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.1595, allocations: 80.14 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.1595, allocations: 11.89 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-06/0.1595, allocations: 0 / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.1596, allocations: 318.8 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/0.1597, allocations: 23.95 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.843e-05/0.1598, allocations: 23.98 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.233e-05/0.1599, allocations: 23.97 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-06/0.1599, allocations: 4.062 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002288/0.1601, allocations: 73.67 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1602, allocations: 4 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.574e-06/0.1602, allocations: 0 / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1602, allocations: 0 / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.1603, allocations: 16.02 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.442e-06/0.1603, allocations: 4 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.1604, allocations: 11.92 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-06/0.1604, allocations: 3.938 kB / 0.9821 GB, free: 24.56 MB / 0.6198 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 5.677e-05/0.1605, allocations: 117.7 kB / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.1605, allocations: 0 / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.1608, allocations: 88.72 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.274e-06/0.1608, allocations: 0 / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.507e-06/0.1608, allocations: 0 / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.197e-06/0.1608, allocations: 7.984 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.161, allocations: 161.8 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-06/0.161, allocations: 8.031 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.1611, allocations: 11.98 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.179e-06/0.1611, allocations: 0 / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-06/0.1611, allocations: 0 / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.166e-06/0.1611, allocations: 0 / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1611, allocations: 0 / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.1614, allocations: 183.4 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.1614, allocations: 77.11 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1615, allocations: 0 / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1616, allocations: 11.98 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.1616, allocations: 0 / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.1616, allocations: 4.031 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.018e-05/0.1617, allocations: 87.27 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.33e-07/0.1617, allocations: 0 / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003116/0.162, allocations: 12 kB / 0.9828 GB, free: 23.71 MB / 0.6198 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.0001365/0.1621, allocations: 99.25 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.1624, allocations: 51.95 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.872e-06/0.1624, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1625, allocations: 27.92 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.1628, allocations: 7.953 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.163, allocations: 120.7 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.1632, allocations: 0.677 MB / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.1632, allocations: 0 / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.1632, allocations: 11.44 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.332e-06/0.1632, allocations: 0 / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.002729/0.166, allocations: 0.492 MB / 0.9842 GB, free: 22.17 MB / 0.6198 GB