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.005375/0.005375, allocations: 99.92 kB / 15.73 MB, free: 6.043 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.00125/0.00125, allocations: 195.9 kB / 16.68 MB, free: 5.961 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.273/1.273, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.331/1.331, allocations: 251.7 MB / 0.5094 GB, free: 2.992 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.001415/0.001415, allocations: 71.91 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1929, allocations: 104.7 MB / 0.828 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002935/0.1959, allocations: 1.76 MB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1971, allocations: 0.7106 MB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.1972, allocations: 7.938 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.733e-05/0.1973, allocations: 11.86 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.099e-05/0.1974, allocations: 15.81 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.198, allocations: 167.3 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.1982, allocations: 127.6 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1983, allocations: 52.8 kB / 0.8308 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1985, allocations: 63.83 kB / 0.8309 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.1986, allocations: 47.77 kB / 0.8309 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1986, allocations: 11.94 kB / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1987, allocations: 51.95 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.1988, allocations: 27.91 kB / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.1988, allocations: 51.72 kB / 0.8311 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1991, allocations: 155.5 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1991, allocations: 0 / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1991, allocations: 0 / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.1991, allocations: 0 / 0.8312 GB, free: 12.88 MB / 0.6544 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.0006862/0.1998, allocations: 438.9 kB / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1998, allocations: 8.031 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008713/0.2007, allocations: 120.5 kB / 0.8318 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2009, allocations: 180.2 kB / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.201, allocations: 55.97 kB / 0.832 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.201, allocations: 12.38 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.2015, allocations: 176.2 kB / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2015, allocations: 0 / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.2016, allocations: 8 kB / 0.8322 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.2016, allocations: 4 kB / 0.8322 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.2022, allocations: 155.8 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.2032, allocations: 485.9 kB / 0.8328 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/0.2042, allocations: 214.3 kB / 0.833 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.2045, allocations: 84.89 kB / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.2045, allocations: 3.938 kB / 0.8331 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.2046, allocations: 46.55 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2046, allocations: 0 / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.001032/0.2056, allocations: 261.5 kB / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.2057, allocations: 51.41 kB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2058, allocations: 136.4 kB / 0.8335 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.2058, allocations: 29.7 kB / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.2059, allocations: 108.2 kB / 0.8337 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.2059, allocations: 23.7 kB / 0.8337 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.206, allocations: 21.7 kB / 0.8337 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2061, allocations: 322.8 kB / 0.834 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.2064, allocations: 71.92 kB / 0.8341 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.2067, allocations: 102.4 kB / 0.8342 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.2073, allocations: 158.4 kB / 0.8343 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2073, allocations: 4 kB / 0.8344 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006497/0.208, allocations: 205.4 kB / 0.8345 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.208, allocations: 4 kB / 0.8346 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.208, allocations: 0 / 0.8346 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.208, allocations: 11.88 kB / 0.8346 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.2083, allocations: 35.89 kB / 0.8346 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2083, allocations: 12 kB / 0.8346 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.2085, allocations: 27.89 kB / 0.8346 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2085, allocations: 0 / 0.8346 GB, free: 9.129 MB / 0.6544 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 0.0001002/0.2086, allocations: 121.8 kB / 0.8348 GB, free: 9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.2087, allocations: 7.906 kB / 0.8348 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.2093, allocations: 214 kB / 0.835 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2094, allocations: 0 / 0.835 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2094, allocations: 384 / 0.835 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2094, allocations: 3.984 kB / 0.835 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.2096, allocations: 230.3 kB / 0.8352 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2096, allocations: 4 kB / 0.8352 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.2098, allocations: 31.95 kB / 0.8352 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2098, allocations: 4 kB / 0.8352 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.2099, allocations: 11.92 kB / 0.8352 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2099, allocations: 0 / 0.8352 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2099, allocations: 0 / 0.8352 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.2105, allocations: 287.2 kB / 0.8355 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.2106, allocations: 81.02 kB / 0.8356 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.2106, allocations: 7.938 kB / 0.8356 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.2109, allocations: 27.95 kB / 0.8356 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.2109, allocations: 15.98 kB / 0.8356 GB, free: 8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.211, allocations: 0 / 0.8356 GB, free: 8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.211, allocations: 107.2 kB / 0.8357 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.211, allocations: 0 / 0.8357 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002442/0.2113, allocations: 23.94 kB / 0.8358 GB, free: 7.871 MB / 0.6544 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.0001056/0.2114, allocations: 99.25 kB / 0.8359 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006345/0.212, allocations: 171.8 kB / 0.836 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.212, allocations: 0 / 0.836 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.2123, allocations: 79.91 kB / 0.8361 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.2126, allocations: 10.7 kB / 0.8361 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.2133, allocations: 257.8 kB / 0.8364 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2135, allocations: 0.704 MB / 0.837 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.606e-05/0.2136, allocations: 19.92 kB / 0.8371 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.2136, allocations: 11.44 kB / 0.8371 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.2136, allocations: 0 / 0.8371 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of Templates: time 0.003473/0.2171, allocations: 1.469 MB / 0.8385 GB, free: 5.016 MB / 0.6544 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)