Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.611/2.611, allocations: 285 MB / 292.5 MB, free: 10.52 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.001963/0.001963, allocations: 180.9 kB / 360.7 MB, free: 7.234 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.036/2.036, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 89.59 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.23e-05, allocations: 4 kB / 0.8509 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8866/0.8866, allocations: 115.2 MB / 0.9634 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2714/1.158, allocations: 138.9 MB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/1.159, allocations: 76.92 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02527/1.184, allocations: 5.016 MB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/1.184, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.346e-06/1.184, allocations: 0 / 1.104 GB, free: 12.52 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.0006615/1.185, allocations: 411.9 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.185, allocations: 12.03 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/1.186, allocations: 109.5 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/1.186, allocations: 182.8 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/1.186, allocations: 63.39 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/1.186, allocations: 11.94 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002701/1.186, allocations: 72 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/1.187, allocations: 101.6 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.187, allocations: 1.031 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/1.187, allocations: 4 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.187, allocations: 3.953 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/1.189, allocations: 476.9 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.19, allocations: 166.5 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/1.19, allocations: 32.98 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/1.19, allocations: 4 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/1.19, allocations: 46.48 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/1.19, allocations: 0 / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003704/1.19, allocations: 97.75 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/1.19, allocations: 51.41 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/1.19, allocations: 122 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/1.19, allocations: 29.69 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/1.191, allocations: 112.1 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/1.191, allocations: 19.75 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/1.191, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.191, allocations: 322.8 kB / 1.106 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/1.191, allocations: 36 kB / 1.106 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/1.191, allocations: 50.56 kB / 1.107 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.563e-05/1.191, allocations: 24 kB / 1.107 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.191, allocations: 7.938 kB / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003144/1.191, allocations: 117.6 kB / 1.107 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.192, allocations: 4.781 kB / 1.107 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.192, allocations: 0 / 1.107 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.192, allocations: 4 kB / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/1.192, allocations: 43.89 kB / 1.107 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.192, allocations: 10.41 kB / 1.107 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/1.192, allocations: 31.88 kB / 1.107 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/1.192, allocations: 9.469 kB / 1.107 GB, free: 9.582 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.0001144/1.193, allocations: 116.7 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/1.193, allocations: 7.906 kB / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/1.193, allocations: 122.2 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/1.193, allocations: 0 / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.193, allocations: 0 / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.193, allocations: 3.938 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/1.193, allocations: 218.4 kB / 1.107 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.193, allocations: 0 / 1.107 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/1.194, allocations: 51.94 kB / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.194, allocations: 0 / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/1.194, allocations: 3.438 kB / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.194, allocations: 4 kB / 1.107 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.194, allocations: 0 / 1.107 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/1.194, allocations: 199.4 kB / 1.107 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/1.194, allocations: 90.42 kB / 1.108 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/1.194, allocations: 0 / 1.108 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/1.195, allocations: 43.94 kB / 1.108 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/1.195, allocations: 4 kB / 1.108 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/1.195, allocations: 7.922 kB / 1.108 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.747e-05/1.195, allocations: 108.8 kB / 1.108 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.9e-07/1.195, allocations: 0 / 1.108 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003736/1.196, allocations: 23.91 kB / 1.108 GB, free: 8.516 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.0001502/1.196, allocations: 95.25 kB / 1.108 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002713/1.196, allocations: 75.98 kB / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.196, allocations: 0 / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/1.196, allocations: 43.92 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/1.196, allocations: 13.02 kB / 1.108 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/1.197, allocations: 133.1 kB / 1.108 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/1.197, allocations: 0.7118 MB / 1.109 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001788/1.197, allocations: 16.19 kB / 1.109 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/1.198, allocations: 15.42 kB / 1.109 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/1.198, allocations: 3.938 kB / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of Templates: time 0.005112/1.203, allocations: 1.25 MB / 1.11 GB, free: 6.152 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)