Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008776/0.008776, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.00148/0.00148, allocations: 201.7 kB / 16.68 MB, free: 5.445 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.681/1.681, allocations: 205.1 MB / 222.5 MB, free: 4.332 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.6105/0.6105, allocations: 95.48 MB / 365.4 MB, free: 9.691 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.001815/0.001815, allocations: 63.91 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1534, allocations: 69.09 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002679/0.1562, allocations: 1.428 MB / 0.5725 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1575, allocations: 0.7492 MB / 0.5732 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.1576, allocations: 4 kB / 0.5732 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.1576, allocations: 0 / 0.5732 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.1577, allocations: 3.938 kB / 0.5732 GB, free: 6.121 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.1581, allocations: 95.66 kB / 0.5733 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.662e-05/0.1581, allocations: 31.8 kB / 0.5733 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1583, allocations: 11.98 kB / 0.5733 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.1583, allocations: 4 kB / 0.5733 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.1584, allocations: 23.91 kB / 0.5734 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1584, allocations: 4 kB / 0.5734 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.1586, allocations: 123.9 kB / 0.5735 GB, free: 5.832 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1587, allocations: 7.938 kB / 0.5735 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.1587, allocations: 11.94 kB / 0.5735 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1589, allocations: 91.75 kB / 0.5736 GB, free: 5.723 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1589, allocations: 0 / 0.5736 GB, free: 5.723 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1589, allocations: 0 / 0.5736 GB, free: 5.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1589, allocations: 0 / 0.5736 GB, free: 5.723 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005083/0.1594, allocations: 367.1 kB / 0.5739 GB, free: 5.316 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1595, allocations: 15.92 kB / 0.574 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.1595, allocations: 4.938 kB / 0.574 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1597, allocations: 176 kB / 0.5741 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1597, allocations: 3.938 kB / 0.5741 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.1597, allocations: 0 / 0.5741 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1598, allocations: 45.67 kB / 0.5742 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1599, allocations: 0 / 0.5742 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1599, allocations: 0 / 0.5742 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1599, allocations: 0 / 0.5742 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.475e-05/0.16, allocations: 23.98 kB / 0.5742 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.1603, allocations: 256.9 kB / 0.5745 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.1604, allocations: 30.52 kB / 0.5745 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.1605, allocations: 16.91 kB / 0.5745 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.1617, allocations: 1.354 MB / 0.5758 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1617, allocations: 30.56 kB / 0.5758 GB, free: 2.941 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.1617, allocations: 0 / 0.5758 GB, free: 2.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002815/0.162, allocations: 65.8 kB / 0.5759 GB, free: 2.871 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1621, allocations: 59.34 kB / 0.576 GB, free: 2.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.1622, allocations: 109.8 kB / 0.5761 GB, free: 2.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1622, allocations: 29.7 kB / 0.5761 GB, free: 2.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.1622, allocations: 84.14 kB / 0.5762 GB, free: 2.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.1623, allocations: 11.88 kB / 0.5762 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.1623, allocations: 17.72 kB / 0.5762 GB, free: 2.527 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1625, allocations: 318.8 kB / 0.5765 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.1625, allocations: 16 kB / 0.5765 GB, free: 2.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.1626, allocations: 7.984 kB / 0.5765 GB, free: 2.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.029e-05/0.1626, allocations: 24.84 kB / 0.5766 GB, free: 2.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1626, allocations: 4 kB / 0.5766 GB, free: 2.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001329/0.1628, allocations: 53.64 kB / 0.5766 GB, free: 2.094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1628, allocations: 11.94 kB / 0.5766 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1628, allocations: 320 / 0.5766 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1628, allocations: 4.094 kB / 0.5766 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.891e-05/0.1629, allocations: 7.984 kB / 0.5766 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1629, allocations: 0 / 0.5766 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.163, allocations: 11.94 kB / 0.5766 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.163, allocations: 3.984 kB / 0.5767 GB, free: 2.055 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.797e-05/0.1631, allocations: 109.8 kB / 0.5768 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.1631, allocations: 4 kB / 0.5768 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.1633, allocations: 69.16 kB / 0.5768 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1633, allocations: 0 / 0.5768 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1634, allocations: 0 / 0.5768 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1634, allocations: 3.938 kB / 0.5768 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.1636, allocations: 165.6 kB / 0.577 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1636, allocations: 0 / 0.577 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.1636, allocations: 7.938 kB / 0.577 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1636, allocations: 0 / 0.577 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1636, allocations: 0 / 0.577 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1636, allocations: 3.984 kB / 0.577 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1636, allocations: 4 kB / 0.577 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.1638, allocations: 155.5 kB / 0.5772 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.1639, allocations: 77.11 kB / 0.5772 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1639, allocations: 0 / 0.5772 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.164, allocations: 7.984 kB / 0.5772 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.164, allocations: 3.938 kB / 0.5772 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.164, allocations: 0 / 0.5772 GB, free: 1.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.352e-05/0.1641, allocations: 95.3 kB / 0.5773 GB, free: 1.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1641, allocations: 0 / 0.5773 GB, free: 1.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1644, allocations: 15.94 kB / 0.5773 GB, free: 1.242 MB / 446.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 (2): * Single equations (assignments): 2 * 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.0002213/0.1646, allocations: 119.2 kB / 0.5775 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.1648, allocations: 27.92 kB / 0.5775 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1648, allocations: 0 / 0.5775 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.1648, allocations: 8 kB / 0.5775 GB, free: 1.082 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.1651, allocations: 12.05 kB / 0.5775 GB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.1654, allocations: 118.7 kB / 0.5776 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1657, allocations: 0.6807 MB / 0.5783 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.895e-05/0.1658, allocations: 7.938 kB / 0.5783 GB, free: 220 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.1658, allocations: 11.38 kB / 0.5783 GB, free: 208 kB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1658, allocations: 4 kB / 0.5783 GB, free: 204 kB / 446.1 MB Notification: Performance of Templates: time 0.002908/0.1687, allocations: 0.6466 MB / 0.5789 GB, free: 15.56 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)