Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 176.8 kB / 361.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.3 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008354/0.0008356, allocations: 91.02 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.664e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.732, allocations: 115.3 MB / 0.9644 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.9326, allocations: 139.1 MB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.9329, allocations: 76.55 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01621/0.9491, allocations: 5.007 MB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9492, allocations: 1.5 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.544e-05/0.9493, allocations: 4 kB / 1.105 GB, free: 11.71 MB / 0.7136 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.000789/0.9501, allocations: 411.7 kB / 1.106 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.9501, allocations: 8.031 kB / 1.106 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008051/0.951, allocations: 119.3 kB / 1.106 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.9512, allocations: 186.8 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.9514, allocations: 63.39 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.9514, allocations: 4 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002263/0.9517, allocations: 71.94 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.9519, allocations: 110.2 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.952, allocations: 0 / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.952, allocations: 3.938 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.952, allocations: 4 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.9534, allocations: 475.6 kB / 1.107 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.954, allocations: 158.5 kB / 1.107 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.9541, allocations: 40.98 kB / 1.107 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.9542, allocations: 4.844 kB / 1.107 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.9542, allocations: 30.56 kB / 1.107 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.9542, allocations: 3.938 kB / 1.107 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003146/0.9545, allocations: 107.9 kB / 1.107 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.9546, allocations: 51.41 kB / 1.107 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.9547, allocations: 119.2 kB / 1.107 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.9548, allocations: 25.7 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/0.9548, allocations: 116.1 kB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.9549, allocations: 19.73 kB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.9549, allocations: 2.812 kB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.9551, allocations: 322.8 kB / 1.108 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.9552, allocations: 39.97 kB / 1.108 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.9552, allocations: 46.58 kB / 1.108 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.363e-05/0.9553, allocations: 35.98 kB / 1.108 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.9553, allocations: 0 / 1.108 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002135/0.9555, allocations: 113.5 kB / 1.108 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.9556, allocations: 8 kB / 1.108 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9556, allocations: 0 / 1.108 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.9556, allocations: 0 / 1.108 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.9559, allocations: 55.94 kB / 1.108 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.9559, allocations: 0 / 1.108 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.9561, allocations: 31.88 kB / 1.108 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.9561, allocations: 4 kB / 1.108 GB, free: 8.77 MB / 0.7136 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 () * 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.0001131/0.9563, allocations: 104.9 kB / 1.108 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.9563, allocations: 11.91 kB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.9566, allocations: 122.2 kB / 1.108 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.9566, allocations: 1.188 kB / 1.108 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.9566, allocations: 3.938 kB / 1.108 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9566, allocations: 3.984 kB / 1.108 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.9569, allocations: 210.9 kB / 1.108 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9569, allocations: 4 kB / 1.108 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.9571, allocations: 39.95 kB / 1.108 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.9572, allocations: 4 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.9572, allocations: 7.984 kB / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.9572, allocations: 3.312 kB / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9572, allocations: 0 / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.9574, allocations: 195.4 kB / 1.109 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.9575, allocations: 88.97 kB / 1.109 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.9575, allocations: 0 / 1.109 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.9579, allocations: 44.61 kB / 1.109 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.9579, allocations: 11.98 kB / 1.109 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.9579, allocations: 7.984 kB / 1.109 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.553e-05/0.958, allocations: 97.17 kB / 1.109 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.9e-07/0.958, allocations: 3.938 kB / 1.109 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002607/0.9583, allocations: 23.91 kB / 1.109 GB, free: 7.719 MB / 0.7136 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 () * 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.0001581/0.9585, allocations: 103 kB / 1.109 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.9587, allocations: 79.27 kB / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9587, allocations: 0 / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.9588, allocations: 48.06 kB / 1.109 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.959, allocations: 13.34 kB / 1.109 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.9594, allocations: 137.3 kB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.9598, allocations: 0.7079 MB / 1.11 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.9599, allocations: 19.92 kB / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.96, allocations: 11.44 kB / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.96, allocations: 0 / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of Templates: time 0.004091/0.9641, allocations: 1.258 MB / 1.111 GB, free: 5.336 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)