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.001021/0.00102, allocations: 94.3 kB / 15.05 MB, free: 1.113 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.001263/0.001264, allocations: 181.3 kB / 15.95 MB, free: 220 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.827/1.827, allocations: 205.4 MB / 222.1 MB, free: 5.438 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.775/1.775, allocations: 251.9 MB / 0.51 GB, free: 4.832 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.0005861/0.0005864, allocations: 19.94 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.6639, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002447/0.6664, allocations: 1.438 MB / 0.7294 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.6677, allocations: 0.6407 MB / 0.73 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.596e-05/0.6678, allocations: 4 kB / 0.73 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.6678, allocations: 11.92 kB / 0.73 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.6679, allocations: 15.91 kB / 0.73 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.6685, allocations: 150.5 kB / 0.7302 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.6687, allocations: 71.84 kB / 0.7302 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.6689, allocations: 33.28 kB / 0.7303 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.669, allocations: 47.84 kB / 0.7303 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.6692, allocations: 43.77 kB / 0.7304 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.6692, allocations: 4 kB / 0.7304 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.6694, allocations: 35.97 kB / 0.7304 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.6694, allocations: 19.91 kB / 0.7304 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.6694, allocations: 41.64 kB / 0.7305 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.6696, allocations: 97.78 kB / 0.7306 GB, free: 8.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6696, allocations: 0 / 0.7306 GB, free: 8.742 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6696, allocations: 0 / 0.7306 GB, free: 8.742 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.6697, allocations: 0 / 0.7306 GB, free: 8.742 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.0007346/0.6704, allocations: 418.9 kB / 0.731 GB, free: 8.285 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.6705, allocations: 8.031 kB / 0.731 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000936/0.6714, allocations: 151.5 kB / 0.7311 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.6716, allocations: 181.7 kB / 0.7313 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.6717, allocations: 67.34 kB / 0.7313 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.6717, allocations: 8 kB / 0.7314 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005925/0.6723, allocations: 185.5 kB / 0.7315 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6723, allocations: 0 / 0.7315 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.6724, allocations: 8 kB / 0.7315 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6724, allocations: 3.953 kB / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006311/0.673, allocations: 195.8 kB / 0.7317 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.6743, allocations: 0.5016 MB / 0.7322 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.6753, allocations: 270.3 kB / 0.7325 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.6754, allocations: 3.938 kB / 0.7325 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.6754, allocations: 38.69 kB / 0.7325 GB, free: 6.559 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.6754, allocations: 0 / 0.7325 GB, free: 6.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001134/0.6766, allocations: 317.5 kB / 0.7328 GB, free: 6.242 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.6766, allocations: 51.41 kB / 0.7329 GB, free: 6.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.6768, allocations: 137.8 kB / 0.733 GB, free: 6.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.6768, allocations: 25.7 kB / 0.733 GB, free: 6.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.6769, allocations: 116.1 kB / 0.7331 GB, free: 5.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.6769, allocations: 15.66 kB / 0.7331 GB, free: 5.871 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.6769, allocations: 4 kB / 0.7332 GB, free: 5.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6771, allocations: 326.8 kB / 0.7335 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.6774, allocations: 83.92 kB / 0.7335 GB, free: 5.457 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.6777, allocations: 122.4 kB / 0.7337 GB, free: 5.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.6781, allocations: 91.92 kB / 0.7337 GB, free: 5.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6781, allocations: 4 kB / 0.7338 GB, free: 5.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007103/0.6788, allocations: 233.5 kB / 0.734 GB, free: 5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.6788, allocations: 9.547 kB / 0.734 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6788, allocations: 4 kB / 0.734 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6789, allocations: 4 kB / 0.734 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.6791, allocations: 51.88 kB / 0.734 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6792, allocations: 0 / 0.734 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.6794, allocations: 39.86 kB / 0.7341 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.6794, allocations: 7.984 kB / 0.7341 GB, free: 4.887 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.0001289/0.6795, allocations: 121.8 kB / 0.7342 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.6796, allocations: 7.906 kB / 0.7342 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.6803, allocations: 238.2 kB / 0.7344 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6804, allocations: 0 / 0.7344 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.6804, allocations: 0 / 0.7344 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6804, allocations: 0 / 0.7344 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.6806, allocations: 234.3 kB / 0.7347 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6807, allocations: 4 kB / 0.7347 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.6809, allocations: 39.95 kB / 0.7347 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.6809, allocations: 4 kB / 0.7347 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.6809, allocations: 7.938 kB / 0.7347 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6809, allocations: 0 / 0.7347 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6809, allocations: 0 / 0.7347 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000727/0.6817, allocations: 331.6 kB / 0.735 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.6817, allocations: 81.02 kB / 0.7351 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.6817, allocations: 4 kB / 0.7351 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.6821, allocations: 47.94 kB / 0.7352 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.6821, allocations: 4 kB / 0.7352 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.6821, allocations: 7.984 kB / 0.7352 GB, free: 3.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.556e-05/0.6822, allocations: 110.5 kB / 0.7353 GB, free: 3.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6822, allocations: 0 / 0.7353 GB, free: 3.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002679/0.6825, allocations: 23.94 kB / 0.7353 GB, free: 3.551 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.0001405/0.6826, allocations: 103.2 kB / 0.7354 GB, free: 3.441 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006879/0.6833, allocations: 199.8 kB / 0.7356 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6833, allocations: 0 / 0.7356 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.6837, allocations: 104 kB / 0.7357 GB, free: 3.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.684, allocations: 7.938 kB / 0.7357 GB, free: 3.137 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.6847, allocations: 305.4 kB / 0.736 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.685, allocations: 0.7043 MB / 0.7367 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.202e-05/0.6851, allocations: 12.19 kB / 0.7367 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.6851, allocations: 15.42 kB / 0.7367 GB, free: 2.051 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.6851, allocations: 0 / 0.7367 GB, free: 2.051 MB / 0.545 GB Notification: Performance of Templates: time 0.003718/0.6889, allocations: 1.297 MB / 0.738 GB, free: 0.7617 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: