Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008901/0.0008902, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008844/0.0008845, allocations: 191.6 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 222 MB, free: 4.945 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.307/1.307, allocations: 251.6 MB / 0.5088 GB, free: 3.32 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.91 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3671, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002469/0.3696, allocations: 1.832 MB / 0.7256 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009272/0.3706, allocations: 0.7105 MB / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.3706, allocations: 4 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.3707, allocations: 7.922 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.3707, allocations: 15.81 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.3711, allocations: 142.7 kB / 0.7264 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3713, allocations: 127.6 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3714, allocations: 45 kB / 0.7266 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.3715, allocations: 51.83 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.3716, allocations: 55.75 kB / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.3716, allocations: 8 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.3717, allocations: 43.97 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.3717, allocations: 19.92 kB / 0.7268 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.3718, allocations: 59.64 kB / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.372, allocations: 141.5 kB / 0.727 GB, free: 9.891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.372, allocations: 0 / 0.727 GB, free: 9.891 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.81e-07/0.372, allocations: 0 / 0.727 GB, free: 9.891 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.372, allocations: 0 / 0.727 GB, free: 9.891 MB / 0.545 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.0004976/0.3725, allocations: 439.1 kB / 0.7274 GB, free: 9.414 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.3725, allocations: 8.031 kB / 0.7274 GB, free: 9.406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007641/0.3733, allocations: 112.6 kB / 0.7275 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3734, allocations: 184.2 kB / 0.7277 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.3735, allocations: 67.95 kB / 0.7278 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3735, allocations: 8.375 kB / 0.7278 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.374, allocations: 175.4 kB / 0.7279 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.374, allocations: 0 / 0.7279 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.374, allocations: 0 / 0.7279 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.374, allocations: 4 kB / 0.7279 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.3746, allocations: 159.8 kB / 0.7281 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009809/0.3756, allocations: 493.6 kB / 0.7286 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.3765, allocations: 214.3 kB / 0.7288 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.3768, allocations: 84.91 kB / 0.7288 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3768, allocations: 0 / 0.7288 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3769, allocations: 42.55 kB / 0.7289 GB, free: 7.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3769, allocations: 3.938 kB / 0.7289 GB, free: 7.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0009074/0.3778, allocations: 261.6 kB / 0.7291 GB, free: 7.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.3778, allocations: 51.41 kB / 0.7292 GB, free: 7.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3779, allocations: 144.2 kB / 0.7293 GB, free: 7.289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.378, allocations: 25.7 kB / 0.7293 GB, free: 7.258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.378, allocations: 108.2 kB / 0.7294 GB, free: 7.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.378, allocations: 27.64 kB / 0.7295 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.3781, allocations: 25.7 kB / 0.7295 GB, free: 7.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.3782, allocations: 322.8 kB / 0.7298 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.3785, allocations: 71.98 kB / 0.7299 GB, free: 6.695 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.3788, allocations: 98.48 kB / 0.73 GB, free: 6.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.3793, allocations: 162.4 kB / 0.7301 GB, free: 6.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3793, allocations: 4 kB / 0.7301 GB, free: 6.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005842/0.3799, allocations: 201.4 kB / 0.7303 GB, free: 6.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3799, allocations: 4 kB / 0.7303 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3799, allocations: 3.984 kB / 0.7303 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3799, allocations: 12 kB / 0.7303 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.3802, allocations: 31.95 kB / 0.7304 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3802, allocations: 4 kB / 0.7304 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.3804, allocations: 23.88 kB / 0.7304 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3804, allocations: 7.984 kB / 0.7304 GB, free: 6.129 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.539e-05/0.3805, allocations: 125.7 kB / 0.7305 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.3805, allocations: 7.906 kB / 0.7305 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.3812, allocations: 206.2 kB / 0.7307 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3812, allocations: 0 / 0.7307 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3812, allocations: 0 / 0.7307 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3812, allocations: 8 kB / 0.7307 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.3814, allocations: 226.4 kB / 0.731 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3814, allocations: 0 / 0.731 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.3816, allocations: 31.95 kB / 0.731 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3816, allocations: 4 kB / 0.731 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3817, allocations: 3.938 kB / 0.731 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3817, allocations: 128 / 0.731 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3817, allocations: 11.92 kB / 0.731 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.3822, allocations: 283.2 kB / 0.7313 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.3823, allocations: 92.94 kB / 0.7314 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.3823, allocations: 3.938 kB / 0.7314 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.3826, allocations: 35.95 kB / 0.7314 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3826, allocations: 4 kB / 0.7314 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.3827, allocations: 7.984 kB / 0.7314 GB, free: 5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.3827, allocations: 103.2 kB / 0.7315 GB, free: 4.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3827, allocations: 0 / 0.7315 GB, free: 4.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002329/0.383, allocations: 23.91 kB / 0.7315 GB, free: 4.875 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001042/0.3831, allocations: 103.2 kB / 0.7316 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.3836, allocations: 163.8 kB / 0.7318 GB, free: 4.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3836, allocations: 0 / 0.7318 GB, free: 4.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.3839, allocations: 87.98 kB / 0.7319 GB, free: 4.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.3842, allocations: 11.98 kB / 0.7319 GB, free: 4.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.3848, allocations: 281.2 kB / 0.7321 GB, free: 4.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.385, allocations: 0.7004 MB / 0.7328 GB, free: 3.484 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.007e-05/0.3851, allocations: 16 kB / 0.7328 GB, free: 3.469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.3851, allocations: 15.42 kB / 0.7329 GB, free: 3.453 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.3851, allocations: 0 / 0.7329 GB, free: 3.453 MB / 0.545 GB Notification: Performance of Templates: time 0.002881/0.388, allocations: 1.376 MB / 0.7342 GB, free: 2.09 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)