Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, 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.001463/0.001463, allocations: 178.7 kB / 325.6 MB, free: 2.848 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.488/2.488, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001112/0.001112, allocations: 92.22 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004925, allocations: 16.25 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2474/0.4721, allocations: 133.4 MB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.4724, allocations: 75.97 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02831/0.5008, allocations: 5.049 MB / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5008, allocations: 0 / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.5009, allocations: 4 kB / 1.034 GB, free: 7.27 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008831/0.5018, allocations: 430.8 kB / 1.035 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.5018, allocations: 11.97 kB / 1.035 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.5034, allocations: 123.6 kB / 1.035 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.5036, allocations: 174.9 kB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.5038, allocations: 67.41 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.5039, allocations: 4 kB / 1.035 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.5052, allocations: 193.5 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.5052, allocations: 4 kB / 1.035 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.5053, allocations: 0 / 1.035 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.5053, allocations: 7.953 kB / 1.035 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.507, allocations: 194 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.5095, allocations: 0.4942 MB / 1.036 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.5123, allocations: 274.3 kB / 1.036 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.5123, allocations: 7.984 kB / 1.036 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.5124, allocations: 38.56 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 3.767e-06/0.5124, allocations: 0 / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.002519/0.5149, allocations: 317.5 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.515, allocations: 51.41 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.5152, allocations: 131.5 kB / 1.037 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.5153, allocations: 29.69 kB / 1.037 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.5154, allocations: 112.1 kB / 1.037 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.5155, allocations: 15.72 kB / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.5155, allocations: 0 / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5157, allocations: 322.8 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/0.5165, allocations: 91.92 kB / 1.037 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/0.5173, allocations: 114.5 kB / 1.037 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.518, allocations: 91.88 kB / 1.037 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5181, allocations: 0 / 1.037 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001701/0.5198, allocations: 237.4 kB / 1.038 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.5198, allocations: 8 kB / 1.038 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5199, allocations: 0 / 1.038 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.5199, allocations: 3.938 kB / 1.038 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.5205, allocations: 47.95 kB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.5206, allocations: 0 / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.5211, allocations: 43.84 kB / 1.038 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.5211, allocations: 4 kB / 1.038 GB, free: 3.453 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 0.0002048/0.5213, allocations: 113.8 kB / 1.038 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.5214, allocations: 7.906 kB / 1.038 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.5233, allocations: 242.2 kB / 1.038 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5233, allocations: 0 / 1.038 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5233, allocations: 4 kB / 1.038 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.5234, allocations: 7.984 kB / 1.038 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.5239, allocations: 241.8 kB / 1.038 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.524, allocations: 0 / 1.038 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.5246, allocations: 35.95 kB / 1.038 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.5246, allocations: 4 kB / 1.038 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.5247, allocations: 3.984 kB / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.5247, allocations: 4.375 kB / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5247, allocations: 0 / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.5266, allocations: 331.1 kB / 1.039 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.5267, allocations: 85.02 kB / 1.039 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.5267, allocations: 8 kB / 1.039 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/0.5275, allocations: 39.95 kB / 1.039 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.5276, allocations: 3.984 kB / 1.039 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.5277, allocations: 11.98 kB / 1.039 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001493/0.5278, allocations: 107.2 kB / 1.039 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5279, allocations: 0 / 1.039 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006294/0.5285, allocations: 27.94 kB / 1.039 GB, free: 2.102 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 (6): * Single equations (assignments): 6 * 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.0001898/0.5287, allocations: 99.19 kB / 1.039 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.5304, allocations: 203.8 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5304, allocations: 0 / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000775/0.5312, allocations: 104 kB / 1.039 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.5316, allocations: 0 / 1.039 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.5329, allocations: 309.3 kB / 1.04 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.5333, allocations: 0.707 MB / 1.04 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002504/0.5336, allocations: 16.17 kB / 1.04 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.5337, allocations: 11.44 kB / 1.04 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/0.5338, allocations: 0 / 1.04 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of Templates: time 0.006753/0.5405, allocations: 1.308 MB / 1.042 GB, free: 15.29 MB / 0.698 GB