Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.01039/0.01039, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00167/0.00167, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6054/0.6054, allocations: 95.47 MB / 365.4 MB, free: 9.801 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 66.09 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1591, allocations: 69.09 MB / 0.5711 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003679/0.1629, allocations: 1.744 MB / 0.5728 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1645, allocations: 0.8466 MB / 0.5736 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.1646, allocations: 8 kB / 0.5736 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.1647, allocations: 11.81 kB / 0.5736 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.275e-05/0.1648, allocations: 15.8 kB / 0.5736 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.1655, allocations: 206.5 kB / 0.5738 GB, free: 5.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1657, allocations: 127.7 kB / 0.574 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1658, allocations: 49.09 kB / 0.574 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1659, allocations: 55.83 kB / 0.5741 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.166, allocations: 51.77 kB / 0.5741 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.1661, allocations: 8 kB / 0.5741 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.1663, allocations: 115.8 kB / 0.5742 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.1663, allocations: 35.89 kB / 0.5743 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.1664, allocations: 55.66 kB / 0.5743 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1667, allocations: 171.6 kB / 0.5745 GB, free: 4.801 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1668, allocations: 0 / 0.5745 GB, free: 4.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1668, allocations: 0 / 0.5745 GB, free: 4.801 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1668, allocations: 7.984 kB / 0.5745 GB, free: 4.793 MB / 446.1 MB 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.0008147/0.1676, allocations: 454.9 kB / 0.5749 GB, free: 4.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1676, allocations: 11.98 kB / 0.5749 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.1677, allocations: 12.84 kB / 0.575 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.1679, allocations: 179.9 kB / 0.5751 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.168, allocations: 71.3 kB / 0.5752 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.168, allocations: 8 kB / 0.5752 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.1683, allocations: 114.6 kB / 0.5753 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1684, allocations: 0 / 0.5753 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1684, allocations: 0 / 0.5753 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1684, allocations: 4 kB / 0.5753 GB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.1686, allocations: 63.95 kB / 0.5754 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007837/0.1694, allocations: 404.4 kB / 0.5758 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1696, allocations: 86.41 kB / 0.5758 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.1697, allocations: 32.97 kB / 0.5759 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.1708, allocations: 1.271 MB / 0.5771 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.1708, allocations: 34.56 kB / 0.5771 GB, free: 1.605 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1708, allocations: 0 / 0.5771 GB, free: 1.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004916/0.1713, allocations: 121.7 kB / 0.5773 GB, free: 1.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.1714, allocations: 63.34 kB / 0.5773 GB, free: 1.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1717, allocations: 140.2 kB / 0.5775 GB, free: 1.262 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.1717, allocations: 25.7 kB / 0.5775 GB, free: 1.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.1718, allocations: 112.1 kB / 0.5776 GB, free: 1.117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1718, allocations: 15.81 kB / 0.5776 GB, free: 1.102 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.1719, allocations: 25.7 kB / 0.5776 GB, free: 1.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1721, allocations: 314.8 kB / 0.5779 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.1722, allocations: 35.91 kB / 0.578 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1723, allocations: 46.56 kB / 0.578 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1725, allocations: 74.48 kB / 0.5781 GB, free: 0.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1725, allocations: 4 kB / 0.5781 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002551/0.1728, allocations: 117.4 kB / 0.5782 GB, free: 468 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1728, allocations: 4 kB / 0.5782 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1728, allocations: 4 kB / 0.5782 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1728, allocations: 3.938 kB / 0.5782 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.173, allocations: 15.98 kB / 0.5782 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.173, allocations: 4 kB / 0.5782 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.1731, allocations: 15.83 kB / 0.5782 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1731, allocations: 0 / 0.5782 GB, free: 420 kB / 446.1 MB 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.0001053/0.1732, allocations: 125.8 kB / 0.5784 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.1733, allocations: 11.91 kB / 0.5784 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.1736, allocations: 110.3 kB / 0.5785 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1736, allocations: 0 / 0.5785 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1736, allocations: 384 / 0.5785 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1736, allocations: 3.984 kB / 0.5785 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.1739, allocations: 213.5 kB / 0.5787 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1739, allocations: 0 / 0.5787 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.174, allocations: 15.98 kB / 0.5787 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.174, allocations: 4 kB / 0.5787 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.174, allocations: 0 / 0.5787 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.174, allocations: 0 / 0.5787 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.174, allocations: 0 / 0.5787 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.1743, allocations: 199.3 kB / 0.5789 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.1744, allocations: 85.02 kB / 0.579 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1744, allocations: 4 kB / 0.579 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1746, allocations: 15.97 kB / 0.579 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.1747, allocations: 4 kB / 0.579 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1747, allocations: 7.984 kB / 0.579 GB, free: 15.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.702e-05/0.1748, allocations: 103.3 kB / 0.5791 GB, free: 15.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1748, allocations: 0 / 0.5791 GB, free: 15.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.1751, allocations: 35.83 kB / 0.5791 GB, free: 15.38 MB / 462.1 MB 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.0002117/0.1753, allocations: 115.2 kB / 0.5792 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.1756, allocations: 71.89 kB / 0.5793 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1756, allocations: 0 / 0.5793 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.205e-05/0.1757, allocations: 35.92 kB / 0.5793 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1762, allocations: 19.05 kB / 0.5794 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.1767, allocations: 203.7 kB / 0.5796 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.177, allocations: 0.7025 MB / 0.5802 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.1771, allocations: 16.3 kB / 0.5803 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.1771, allocations: 19.42 kB / 0.5803 GB, free: 14.15 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1771, allocations: 0 / 0.5803 GB, free: 14.15 MB / 462.1 MB Notification: Performance of Templates: time 0.004375/0.1815, allocations: 1.404 MB / 0.5817 GB, free: 12.76 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)