Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 293 MB / 309 MB, free: 4.777 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.001325/0.001325, allocations: 168.6 kB / 378.7 MB, free: 1.02 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.485/1.485, allocations: 205.4 MB / 0.6383 GB, free: 8.137 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.0007502/0.0007501, allocations: 83.81 kB / 0.7527 GB, free: 62.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003825, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2178, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6212/0.8391, allocations: 140.9 MB / 1.128 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.8393, allocations: 74.97 kB / 1.128 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01252/0.8518, allocations: 5.082 MB / 1.133 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8519, allocations: 4 kB / 1.133 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.8519, allocations: 4 kB / 1.133 GB, free: 29.6 MB / 0.7292 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.0004306/0.8523, allocations: 422.2 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.8524, allocations: 12.03 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006096/0.853, allocations: 115.3 kB / 1.134 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.8531, allocations: 186.8 kB / 1.134 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.427e-05/0.8532, allocations: 63.58 kB / 1.134 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.8532, allocations: 12.88 kB / 1.134 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.8537, allocations: 184.2 kB / 1.134 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.8537, allocations: 3.938 kB / 1.134 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.8537, allocations: 4 kB / 1.134 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.8537, allocations: 4 kB / 1.134 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005441/0.8543, allocations: 196.2 kB / 1.134 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.8553, allocations: 0.4948 MB / 1.135 GB, free: 28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/0.8562, allocations: 272.6 kB / 1.135 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.8565, allocations: 97.75 kB / 1.135 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.8565, allocations: 4.656 kB / 1.135 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.8566, allocations: 35.36 kB / 1.135 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.8566, allocations: 0 / 1.135 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0009344/0.8575, allocations: 315.9 kB / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.8575, allocations: 59.94 kB / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.8577, allocations: 142.4 kB / 1.136 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.8577, allocations: 29.7 kB / 1.136 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.8577, allocations: 108.4 kB / 1.136 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.8578, allocations: 17.31 kB / 1.136 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.8578, allocations: 4 kB / 1.136 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.8578, allocations: 321.9 kB / 1.136 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.8581, allocations: 85.84 kB / 1.136 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.8584, allocations: 113.5 kB / 1.136 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.859, allocations: 200.1 kB / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.859, allocations: 4 kB / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000612/0.8596, allocations: 232.5 kB / 1.137 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8596, allocations: 11.31 kB / 1.137 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8596, allocations: 0 / 1.137 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.8597, allocations: 1.438 kB / 1.137 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.8599, allocations: 57.25 kB / 1.137 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8599, allocations: 0 / 1.137 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.8601, allocations: 32.98 kB / 1.137 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.8601, allocations: 5.594 kB / 1.137 GB, free: 26.12 MB / 0.7292 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 8.801e-05/0.8602, allocations: 126.6 kB / 1.137 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.8603, allocations: 8.75 kB / 1.137 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006577/0.8609, allocations: 239.8 kB / 1.137 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.8609, allocations: 7.938 kB / 1.137 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8609, allocations: 0 / 1.137 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.861, allocations: 1.359 kB / 1.137 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.8612, allocations: 241.8 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8612, allocations: 0.75 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.8614, allocations: 45.19 kB / 1.137 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8614, allocations: 0 / 1.137 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.8614, allocations: 2.438 kB / 1.137 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8614, allocations: 3.938 kB / 1.137 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8615, allocations: 5.234 kB / 1.137 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.8621, allocations: 323.5 kB / 1.138 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.8621, allocations: 85.62 kB / 1.138 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.8621, allocations: 5.484 kB / 1.138 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.8624, allocations: 48.88 kB / 1.138 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.8625, allocations: 6.016 kB / 1.138 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.8625, allocations: 11.33 kB / 1.138 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.8625, allocations: 106.3 kB / 1.138 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8625, allocations: 0.9375 kB / 1.138 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002509/0.8628, allocations: 23.94 kB / 1.138 GB, free: 24.93 MB / 0.7292 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.0001022/0.8629, allocations: 95.95 kB / 1.138 GB, free: 24.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006044/0.8635, allocations: 203.2 kB / 1.138 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.8635, allocations: 0 / 1.138 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.8639, allocations: 107.7 kB / 1.138 GB, free: 24.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.8642, allocations: 15.42 kB / 1.138 GB, free: 24.58 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.8649, allocations: 296.7 kB / 1.139 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.865, allocations: 0.7038 MB / 1.139 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.8651, allocations: 18.58 kB / 1.139 GB, free: 23.56 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.8652, allocations: 13.5 kB / 1.139 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.8652, allocations: 0 / 1.139 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of Templates: time 0.003959/0.8692, allocations: 1.334 MB / 1.141 GB, free: 22.83 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)