Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001438/0.001438, allocations: 107.4 kB / 16.36 MB, free: 5.824 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.001563/0.001563, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001968/0.001968, allocations: 288.2 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9003/0.9003, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 98.78 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1514, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002356/0.1538, allocations: 1.45 MB / 0.683 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.1547, allocations: 0.5579 MB / 0.6836 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.1547, allocations: 0 / 0.6836 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.1547, allocations: 3.938 kB / 0.6836 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.1548, allocations: 7.922 kB / 0.6836 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.155, allocations: 51.83 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.092e-05/0.1551, allocations: 31.86 kB / 0.6836 GB, free: 5.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.1552, allocations: 7.984 kB / 0.6837 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.1552, allocations: 15.94 kB / 0.6837 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.1553, allocations: 15.92 kB / 0.6837 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1553, allocations: 4 kB / 0.6837 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1554, allocations: 59.94 kB / 0.6837 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.1554, allocations: 3.938 kB / 0.6837 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.1555, allocations: 11.94 kB / 0.6838 GB, free: 5.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.1556, allocations: 71.72 kB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1556, allocations: 0 / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1556, allocations: 0 / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1556, allocations: 0 / 0.6838 GB, free: 5.156 MB / 494.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.0003462/0.156, allocations: 343.5 kB / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.156, allocations: 8.031 kB / 0.6842 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.156, allocations: 8.844 kB / 0.6842 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1561, allocations: 172.3 kB / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1562, allocations: 384 / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1562, allocations: 8.312 kB / 0.6843 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.1563, allocations: 46 kB / 0.6844 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1563, allocations: 0 / 0.6844 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.1563, allocations: 3.938 kB / 0.6844 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1563, allocations: 7.984 kB / 0.6844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.1564, allocations: 19.98 kB / 0.6844 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.1567, allocations: 252.9 kB / 0.6847 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.744e-05/0.1568, allocations: 30.56 kB / 0.6847 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.1568, allocations: 16.92 kB / 0.6847 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/0.1576, allocations: 477.4 kB / 0.6852 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1576, allocations: 38.5 kB / 0.6852 GB, free: 3.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.1576, allocations: 0 / 0.6852 GB, free: 3.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002188/0.1578, allocations: 69.58 kB / 0.6853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.1579, allocations: 51.41 kB / 0.6853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.158, allocations: 113.8 kB / 0.6854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.158, allocations: 25.7 kB / 0.6854 GB, free: 3.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.158, allocations: 84.14 kB / 0.6855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.158, allocations: 4.672 kB / 0.6855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.1581, allocations: 17.72 kB / 0.6855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.1582, allocations: 315 kB / 0.6858 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.1582, allocations: 16 kB / 0.6859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-05/0.1583, allocations: 11.92 kB / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.1583, allocations: 32.78 kB / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1584, allocations: 0 / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001053/0.1585, allocations: 53.69 kB / 0.686 GB, free: 2.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1585, allocations: 4 kB / 0.686 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1585, allocations: 4.094 kB / 0.686 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1585, allocations: 0 / 0.686 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.1586, allocations: 11.98 kB / 0.686 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1586, allocations: 0 / 0.686 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.1586, allocations: 4 kB / 0.686 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.1586, allocations: 0 / 0.686 GB, free: 2.637 MB / 494.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 6.307e-05/0.1587, allocations: 109.8 kB / 0.6861 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.1587, allocations: 15.78 kB / 0.6861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.1589, allocations: 65.2 kB / 0.6862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1589, allocations: 0 / 0.6862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1589, allocations: 3.938 kB / 0.6862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1589, allocations: 0 / 0.6862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1591, allocations: 165.6 kB / 0.6863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1591, allocations: 0 / 0.6863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.1592, allocations: 7.984 kB / 0.6863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1592, allocations: 0 / 0.6863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.1592, allocations: 0 / 0.6863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1592, allocations: 4 kB / 0.6863 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1592, allocations: 4.031 kB / 0.6863 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.1594, allocations: 155.4 kB / 0.6865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.1594, allocations: 85 kB / 0.6866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1594, allocations: 4 kB / 0.6866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.1595, allocations: 0 / 0.6866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.1595, allocations: 0 / 0.6866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1595, allocations: 4 kB / 0.6866 GB, free: 1.926 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.149e-05/0.1596, allocations: 91.3 kB / 0.6867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1596, allocations: 0 / 0.6867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.1598, allocations: 16 kB / 0.6867 GB, free: 1.82 MB / 494.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.000152/0.16, allocations: 119.2 kB / 0.6868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.1601, allocations: 23.98 kB / 0.6868 GB, free: 1.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1601, allocations: 0 / 0.6868 GB, free: 1.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.1602, allocations: 19.98 kB / 0.6868 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1604, allocations: 5.969 kB / 0.6868 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.1607, allocations: 126.7 kB / 0.687 GB, free: 1.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1609, allocations: 0.6807 MB / 0.6876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.863e-05/0.161, allocations: 0 / 0.6876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.161, allocations: 11.44 kB / 0.6876 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.161, allocations: 0 / 0.6876 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of Templates: time 0.002609/0.1636, allocations: 0.6713 MB / 0.6883 GB, free: 116 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)