Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.707/3.707, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002385/0.002385, allocations: 182.9 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4/4, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001366/0.001365, allocations: 82.69 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007834/0.000784, allocations: 10 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3575, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.7017, allocations: 133.4 MB / 1.03 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004423/0.7023, allocations: 83.95 kB / 1.03 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03671/0.739, allocations: 5.085 MB / 1.035 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.907e-06/0.7391, allocations: 0 / 1.035 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.7391, allocations: 4 kB / 1.035 GB, free: 7.301 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.001053/0.7402, allocations: 429.1 kB / 1.035 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.7402, allocations: 15.97 kB / 1.035 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.742, allocations: 112.6 kB / 1.035 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.7424, allocations: 180.2 kB / 1.035 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.7426, allocations: 63.97 kB / 1.036 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.7427, allocations: 16.38 kB / 1.036 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.744, allocations: 191.8 kB / 1.036 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.7441, allocations: 3.938 kB / 1.036 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.7441, allocations: 4 kB / 1.036 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.7442, allocations: 4 kB / 1.036 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.7459, allocations: 191.8 kB / 1.036 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.7485, allocations: 0.498 MB / 1.036 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.7513, allocations: 274.3 kB / 1.037 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008292/0.7522, allocations: 96.91 kB / 1.037 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.7523, allocations: 4 kB / 1.037 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.7524, allocations: 30.56 kB / 1.037 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 4.128e-06/0.7524, allocations: 3.938 kB / 1.037 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.002743/0.7552, allocations: 313.5 kB / 1.037 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/0.7553, allocations: 63.34 kB / 1.037 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.7556, allocations: 135.4 kB / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.771e-05/0.7557, allocations: 29.7 kB / 1.037 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.7558, allocations: 108.1 kB / 1.037 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.7559, allocations: 23.7 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.756, allocations: 0 / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002421/0.7562, allocations: 314.8 kB / 1.038 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008294/0.7571, allocations: 99.91 kB / 1.038 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000888/0.758, allocations: 106.5 kB / 1.038 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008305/0.7588, allocations: 99.86 kB / 1.038 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.7589, allocations: 3.938 kB / 1.038 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00188/0.7608, allocations: 237.4 kB / 1.038 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.7608, allocations: 4 kB / 1.038 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7609, allocations: 3.938 kB / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.7609, allocations: 0 / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/0.7616, allocations: 51.89 kB / 1.038 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.7617, allocations: 0 / 1.038 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.7622, allocations: 35.91 kB / 1.038 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.7623, allocations: 7.984 kB / 1.038 GB, free: 3.371 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.0002777/0.7626, allocations: 118.9 kB / 1.038 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.7627, allocations: 7.906 kB / 1.038 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.7647, allocations: 238.2 kB / 1.039 GB, free: 3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.7648, allocations: 11.94 kB / 1.039 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.7648, allocations: 0 / 1.039 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.7648, allocations: 0 / 1.039 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.7655, allocations: 245.8 kB / 1.039 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.7655, allocations: 0 / 1.039 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.7673, allocations: 39.95 kB / 1.039 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.7673, allocations: 0 / 1.039 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.7674, allocations: 4 kB / 1.039 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/0.7674, allocations: 3.938 kB / 1.039 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.7674, allocations: 4.359 kB / 1.039 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.7694, allocations: 327.2 kB / 1.039 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.7695, allocations: 89 kB / 1.039 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.7696, allocations: 4 kB / 1.039 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/0.7705, allocations: 43.89 kB / 1.039 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.7706, allocations: 8 kB / 1.039 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.7707, allocations: 11.97 kB / 1.039 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001745/0.7709, allocations: 106.3 kB / 1.04 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.062e-06/0.7709, allocations: 0 / 1.04 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007066/0.7716, allocations: 27.94 kB / 1.04 GB, free: 2.012 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.0002622/0.7719, allocations: 95.25 kB / 1.04 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.7738, allocations: 203.8 kB / 1.04 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.7739, allocations: 0 / 1.04 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008696/0.7748, allocations: 100 kB / 1.04 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.7756, allocations: 7.984 kB / 1.04 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.7771, allocations: 301.3 kB / 1.04 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.7776, allocations: 0.7043 MB / 1.041 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003087/0.778, allocations: 16 kB / 1.041 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.7781, allocations: 19.36 kB / 1.041 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of SimCode: time 1.774e-06/0.7782, allocations: 0 / 1.041 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of Templates: time 0.007931/0.7861, allocations: 1.303 MB / 1.042 GB, free: 15.21 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)