Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.271/1.271, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000985/0.0009851, allocations: 178 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205 MB / 0.5767 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007408/0.0007411, allocations: 94.22 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 10.03 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.164, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001468/0.1655, allocations: 1.196 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008119/0.1663, allocations: 0.6108 MB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.1664, allocations: 7.938 kB / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.1664, allocations: 0 / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.1665, allocations: 3.938 kB / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1667, allocations: 39.95 kB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.1668, allocations: 35.8 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.1669, allocations: 11.94 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.1669, allocations: 7.984 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.512e-05/0.167, allocations: 15.92 kB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.167, allocations: 0 / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1671, allocations: 51.95 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.1671, allocations: 7.938 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.1672, allocations: 11.92 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.1673, allocations: 63.84 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1673, allocations: 0 / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1673, allocations: 0 / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1673, allocations: 4 kB / 0.8988 GB, free: 66.1 MB / 0.6042 GB 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.0002957/0.1676, allocations: 339.4 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1677, allocations: 12.03 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.1677, allocations: 0.9375 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.585e-05/0.1678, allocations: 176.2 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1678, allocations: 384 / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1678, allocations: 4.375 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1679, allocations: 57.94 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.168, allocations: 0 / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.168, allocations: 0 / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.168, allocations: 3.984 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.041e-05/0.1681, allocations: 23.98 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.1683, allocations: 252.9 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.542e-05/0.1684, allocations: 42.5 kB / 0.8996 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.1685, allocations: 12.92 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/0.1691, allocations: 0.4974 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.1692, allocations: 34.56 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.1692, allocations: 0 / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002238/0.1694, allocations: 69.67 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.593e-05/0.1694, allocations: 55.34 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.1695, allocations: 105.8 kB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.1695, allocations: 25.7 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.1695, allocations: 92.27 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.1696, allocations: 3.906 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.1696, allocations: 9.719 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.1696, allocations: 322.8 kB / 0.9008 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.1697, allocations: 8 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.1697, allocations: 15.98 kB / 0.9008 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.784e-05/0.1698, allocations: 32.91 kB / 0.9009 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1698, allocations: 3.938 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.902e-05/0.1699, allocations: 61.59 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1699, allocations: 4 kB / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1699, allocations: 0 / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.17, allocations: 0 / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.17, allocations: 12.02 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.17, allocations: 7.938 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.1701, allocations: 0 / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1701, allocations: 0 / 0.901 GB, free: 63.54 MB / 0.6042 GB 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 4.69e-05/0.1701, allocations: 117.8 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.1702, allocations: 0 / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1703, allocations: 65.2 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1703, allocations: 4 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1703, allocations: 0 / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.1703, allocations: 81.02 kB / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1704, allocations: 3.984 kB / 0.9012 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.1704, allocations: 8 kB / 0.9012 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.1705, allocations: 3.938 kB / 0.9012 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001123/0.1706, allocations: 140.9 kB / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001233/0.1707, allocations: 226.8 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.204e-05/0.1708, allocations: 16.05 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.207e-05/0.1708, allocations: 87.27 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of Backend: time 3e-07/0.1708, allocations: 3.938 kB / 0.9017 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.1711, allocations: 120.4 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002462/0.1714, allocations: 0.568 MB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of Templates: time 0.002352/0.1738, allocations: 0.731 MB / 0.9031 GB, free: 61.27 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)