Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01069/0.01069, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.002391/0.002392, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.665/1.665, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.5906/0.5906, allocations: 95.48 MB / 365.4 MB, free: 9.777 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.001788/0.001788, allocations: 70.09 kB / 0.5036 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1585, allocations: 69.09 MB / 0.5711 GB, free: 8.457 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003636/0.1622, allocations: 1.407 MB / 0.5725 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006032/0.1628, allocations: 180.4 kB / 0.5726 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.1629, allocations: 0 / 0.5726 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.163, allocations: 7.938 kB / 0.5726 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.163, allocations: 0 / 0.5726 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.1635, allocations: 43.84 kB / 0.5727 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.119e-05/0.1636, allocations: 19.92 kB / 0.5727 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1637, allocations: 11.98 kB / 0.5727 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.1638, allocations: 7.984 kB / 0.5727 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.1639, allocations: 7.938 kB / 0.5727 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1639, allocations: 4 kB / 0.5727 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.164, allocations: 35.95 kB / 0.5728 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.164, allocations: 8 kB / 0.5728 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.1641, allocations: 11.94 kB / 0.5728 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1642, allocations: 51.8 kB / 0.5728 GB, free: 6.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1643, allocations: 0 / 0.5728 GB, free: 6.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1643, allocations: 0 / 0.5728 GB, free: 6.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1643, allocations: 0 / 0.5728 GB, free: 6.652 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.0005526/0.1648, allocations: 339.5 kB / 0.5731 GB, free: 6.273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1649, allocations: 11.98 kB / 0.5732 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.1649, allocations: 0.9375 kB / 0.5732 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.1651, allocations: 168.4 kB / 0.5733 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1651, allocations: 4.125 kB / 0.5733 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1651, allocations: 0 / 0.5733 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1653, allocations: 49.67 kB / 0.5734 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1653, allocations: 0 / 0.5734 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1654, allocations: 0 / 0.5734 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.1654, allocations: 4 kB / 0.5734 GB, free: 5.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.1655, allocations: 35.89 kB / 0.5734 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.1659, allocations: 260.8 kB / 0.5737 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1661, allocations: 38.55 kB / 0.5737 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.976e-05/0.1662, allocations: 20.91 kB / 0.5737 GB, free: 5.586 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.1663, allocations: 81.11 kB / 0.5738 GB, free: 5.488 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1663, allocations: 34.56 kB / 0.5738 GB, free: 5.445 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1663, allocations: 3.938 kB / 0.5738 GB, free: 5.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000362/0.1667, allocations: 85.58 kB / 0.5739 GB, free: 5.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1668, allocations: 51.41 kB / 0.574 GB, free: 5.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.1669, allocations: 113.8 kB / 0.5741 GB, free: 5.168 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1669, allocations: 25.83 kB / 0.5741 GB, free: 5.137 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.1669, allocations: 88.14 kB / 0.5742 GB, free: 5.047 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.167, allocations: 3.906 kB / 0.5742 GB, free: 5.043 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.167, allocations: 17.7 kB / 0.5742 GB, free: 5.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1671, allocations: 318.8 kB / 0.5745 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.607e-05/0.1672, allocations: 11.98 kB / 0.5745 GB, free: 4.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.1673, allocations: 19.98 kB / 0.5745 GB, free: 4.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1674, allocations: 48.81 kB / 0.5746 GB, free: 4.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1675, allocations: 0 / 0.5746 GB, free: 4.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001759/0.1676, allocations: 57.67 kB / 0.5746 GB, free: 4.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1677, allocations: 8 kB / 0.5746 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1677, allocations: 0 / 0.5746 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1677, allocations: 3.984 kB / 0.5746 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.1678, allocations: 8.031 kB / 0.5747 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1678, allocations: 4 kB / 0.5747 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1679, allocations: 7.984 kB / 0.5747 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1679, allocations: 3.938 kB / 0.5747 GB, free: 4.52 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 9.249e-05/0.168, allocations: 109.8 kB / 0.5748 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.168, allocations: 7.906 kB / 0.5748 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.1682, allocations: 80.66 kB / 0.5749 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1683, allocations: 0 / 0.5749 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1683, allocations: 3.984 kB / 0.5749 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1683, allocations: 0 / 0.5749 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.1685, allocations: 165.6 kB / 0.575 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1685, allocations: 0 / 0.575 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.1685, allocations: 7.984 kB / 0.575 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1685, allocations: 0 / 0.575 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1685, allocations: 4 kB / 0.575 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1686, allocations: 0 / 0.575 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1686, allocations: 4.031 kB / 0.575 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1688, allocations: 163.4 kB / 0.5752 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.1689, allocations: 81.11 kB / 0.5753 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1689, allocations: 0 / 0.5753 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.1689, allocations: 7.984 kB / 0.5753 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.169, allocations: 8.031 kB / 0.5753 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.169, allocations: 3.938 kB / 0.5753 GB, free: 3.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.8e-05/0.1691, allocations: 91.45 kB / 0.5754 GB, free: 3.695 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1691, allocations: 0 / 0.5754 GB, free: 3.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1693, allocations: 15.94 kB / 0.5754 GB, free: 3.68 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.0001683/0.1695, allocations: 111.2 kB / 0.5755 GB, free: 3.559 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1697, allocations: 39.95 kB / 0.5755 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1697, allocations: 0 / 0.5755 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.1698, allocations: 23.92 kB / 0.5756 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1701, allocations: 0 / 0.5756 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.1704, allocations: 105.5 kB / 0.5757 GB, free: 3.367 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1707, allocations: 0.6768 MB / 0.5763 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.452e-05/0.1707, allocations: 4.109 kB / 0.5763 GB, free: 2.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.1707, allocations: 15.44 kB / 0.5763 GB, free: 2.645 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1708, allocations: 0 / 0.5763 GB, free: 2.645 MB / 446.1 MB Notification: Performance of Templates: time 0.002974/0.1737, allocations: 0.5666 MB / 0.5769 GB, free: 2.078 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)