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.0008689/0.0008696, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008839/0.000884, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.561/1.561, allocations: 252 MB / 0.5102 GB, free: 4.719 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.0005643/0.0005644, allocations: 15.75 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.59/0.5906, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002096/0.5927, allocations: 1.454 MB / 0.7295 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.5939, allocations: 0.668 MB / 0.7302 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.5939, allocations: 0 / 0.7302 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.594, allocations: 7.938 kB / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.5941, allocations: 11.86 kB / 0.7302 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.5946, allocations: 150.3 kB / 0.7304 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.5948, allocations: 99.69 kB / 0.7305 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.5949, allocations: 41.27 kB / 0.7305 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.595, allocations: 47.84 kB / 0.7305 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.5951, allocations: 39.77 kB / 0.7306 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.5951, allocations: 4 kB / 0.7306 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.5953, allocations: 35.97 kB / 0.7306 GB, free: 8.809 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.5953, allocations: 23.91 kB / 0.7306 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.5953, allocations: 37.64 kB / 0.7307 GB, free: 8.742 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.5955, allocations: 97.8 kB / 0.7308 GB, free: 8.648 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5955, allocations: 4 kB / 0.7308 GB, free: 8.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5955, allocations: 0 / 0.7308 GB, free: 8.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.5955, allocations: 0 / 0.7308 GB, free: 8.645 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.0005748/0.5961, allocations: 414.9 kB / 0.7312 GB, free: 8.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5961, allocations: 12.02 kB / 0.7312 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007828/0.5969, allocations: 151.6 kB / 0.7313 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.5971, allocations: 186.8 kB / 0.7315 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/0.5972, allocations: 63.39 kB / 0.7316 GB, free: 7.734 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.5972, allocations: 8 kB / 0.7316 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.5977, allocations: 185.5 kB / 0.7317 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.5978, allocations: 4 kB / 0.7317 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.5978, allocations: 7.984 kB / 0.7318 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.5978, allocations: 3.953 kB / 0.7318 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005352/0.5983, allocations: 187.8 kB / 0.7319 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.5994, allocations: 0.5016 MB / 0.7324 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/0.6003, allocations: 270.3 kB / 0.7327 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.6006, allocations: 96.91 kB / 0.7328 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.6006, allocations: 7.984 kB / 0.7328 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.6007, allocations: 42.5 kB / 0.7328 GB, free: 6.355 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.6007, allocations: 0 / 0.7328 GB, free: 6.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0009676/0.6016, allocations: 309.5 kB / 0.7331 GB, free: 6.047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.6017, allocations: 55.41 kB / 0.7332 GB, free: 5.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.6018, allocations: 137.4 kB / 0.7333 GB, free: 5.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.6019, allocations: 37.69 kB / 0.7333 GB, free: 5.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.602, allocations: 112.1 kB / 0.7334 GB, free: 5.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.602, allocations: 23.66 kB / 0.7335 GB, free: 5.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.602, allocations: 0 / 0.7335 GB, free: 5.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6022, allocations: 318.8 kB / 0.7338 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.6024, allocations: 91.92 kB / 0.7339 GB, free: 5.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.6027, allocations: 110.5 kB / 0.734 GB, free: 5.133 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.603, allocations: 87.94 kB / 0.7341 GB, free: 5.047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.603, allocations: 4 kB / 0.7341 GB, free: 5.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006039/0.6036, allocations: 241.8 kB / 0.7343 GB, free: 4.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6036, allocations: 4 kB / 0.7343 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6037, allocations: 4 kB / 0.7343 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.6037, allocations: 0 / 0.7343 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.6039, allocations: 51.88 kB / 0.7343 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.604, allocations: 0 / 0.7343 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.6041, allocations: 43.84 kB / 0.7344 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.6042, allocations: 7.938 kB / 0.7344 GB, free: 4.691 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.6043, allocations: 117.8 kB / 0.7345 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.6043, allocations: 7.906 kB / 0.7345 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/0.605, allocations: 238.2 kB / 0.7347 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.605, allocations: 4 kB / 0.7347 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.605, allocations: 0 / 0.7347 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.605, allocations: 7.984 kB / 0.7348 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.6053, allocations: 230.3 kB / 0.735 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6053, allocations: 0 / 0.735 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.6055, allocations: 43.89 kB / 0.735 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.6055, allocations: 0 / 0.735 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.6055, allocations: 7.984 kB / 0.735 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6055, allocations: 0 / 0.735 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6055, allocations: 4 kB / 0.735 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.6062, allocations: 319.2 kB / 0.7353 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.6062, allocations: 85.02 kB / 0.7354 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.6062, allocations: 4 kB / 0.7354 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.6065, allocations: 43.95 kB / 0.7355 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.6066, allocations: 7.984 kB / 0.7355 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.6066, allocations: 7.984 kB / 0.7355 GB, free: 3.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.16e-05/0.6067, allocations: 107.2 kB / 0.7356 GB, free: 3.383 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6067, allocations: 3.938 kB / 0.7356 GB, free: 3.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002508/0.6069, allocations: 23.94 kB / 0.7356 GB, free: 3.355 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 (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.0001357/0.6071, allocations: 103.2 kB / 0.7357 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005971/0.6077, allocations: 200 kB / 0.7359 GB, free: 3.051 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6077, allocations: 0 / 0.7359 GB, free: 3.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.608, allocations: 108 kB / 0.736 GB, free: 2.945 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.6083, allocations: 11.09 kB / 0.736 GB, free: 2.938 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.609, allocations: 297.4 kB / 0.7363 GB, free: 2.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.6093, allocations: 0.7043 MB / 0.737 GB, free: 1.887 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.831e-05/0.6094, allocations: 12.19 kB / 0.737 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.6095, allocations: 19.44 kB / 0.737 GB, free: 1.855 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.6095, allocations: 0 / 0.737 GB, free: 1.855 MB / 0.545 GB Notification: Performance of Templates: time 0.003642/0.6131, allocations: 1.304 MB / 0.7383 GB, free: 0.5625 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: