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.001435/0.001435, allocations: 105.4 kB / 15.98 MB, free: 6.336 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.001416/0.001416, allocations: 197.6 kB / 16.91 MB, free: 6.191 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.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00236/0.00236, allocations: 294.3 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.113/1.113, allocations: 178.5 MB / 0.5076 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002581/0.002581, allocations: 99.84 kB / 0.6066 GB, free: 9.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1624, allocations: 89.14 MB / 0.6936 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002534/0.165, allocations: 1.518 MB / 0.6951 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.1658, allocations: 0.5464 MB / 0.6957 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.1659, allocations: 4 kB / 0.6957 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.1659, allocations: 3.938 kB / 0.6957 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.079e-05/0.166, allocations: 3.938 kB / 0.6957 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1662, allocations: 43.89 kB / 0.6957 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.467e-05/0.1663, allocations: 31.86 kB / 0.6957 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.016e-05/0.1663, allocations: 4 kB / 0.6957 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.1664, allocations: 11.94 kB / 0.6957 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.1665, allocations: 19.92 kB / 0.6958 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1665, allocations: 7.984 kB / 0.6958 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1666, allocations: 55.89 kB / 0.6958 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.1666, allocations: 4 kB / 0.6958 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.1666, allocations: 11.92 kB / 0.6958 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1668, allocations: 47.94 kB / 0.6959 GB, free: 14.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1668, allocations: 0 / 0.6959 GB, free: 14.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1668, allocations: 0 / 0.6959 GB, free: 14.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.1668, allocations: 0 / 0.6959 GB, free: 14.16 MB / 0.545 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.000407/0.1672, allocations: 355.6 kB / 0.6962 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1672, allocations: 12.03 kB / 0.6962 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.1673, allocations: 8.828 kB / 0.6962 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1674, allocations: 168.3 kB / 0.6964 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1674, allocations: 4.375 kB / 0.6964 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.1674, allocations: 384 / 0.6964 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1675, allocations: 46 kB / 0.6965 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1676, allocations: 0 / 0.6965 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1676, allocations: 0 / 0.6965 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1676, allocations: 4 kB / 0.6965 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/0.1677, allocations: 23.92 kB / 0.6965 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.168, allocations: 256.9 kB / 0.6967 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.1681, allocations: 30.56 kB / 0.6968 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.1681, allocations: 12.92 kB / 0.6968 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007936/0.1689, allocations: 485.4 kB / 0.6972 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.169, allocations: 30.56 kB / 0.6973 GB, free: 12.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.169, allocations: 0 / 0.6973 GB, free: 12.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002271/0.1692, allocations: 69.61 kB / 0.6973 GB, free: 12.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1693, allocations: 59.44 kB / 0.6974 GB, free: 12.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.1693, allocations: 109.8 kB / 0.6975 GB, free: 12.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1694, allocations: 25.7 kB / 0.6975 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.1694, allocations: 88.14 kB / 0.6976 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.1694, allocations: 3.906 kB / 0.6976 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1695, allocations: 13.7 kB / 0.6976 GB, free: 12.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1696, allocations: 318.8 kB / 0.6979 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/0.1696, allocations: 11.98 kB / 0.6979 GB, free: 11.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.1697, allocations: 12 kB / 0.6979 GB, free: 11.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.666e-05/0.1698, allocations: 32.72 kB / 0.698 GB, free: 11.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1698, allocations: 0 / 0.698 GB, free: 11.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/0.1699, allocations: 49.69 kB / 0.698 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1699, allocations: 7.938 kB / 0.698 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1699, allocations: 0 / 0.698 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1699, allocations: 8.094 kB / 0.698 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.17, allocations: 7.984 kB / 0.698 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.17, allocations: 0 / 0.698 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.17, allocations: 3.938 kB / 0.698 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.1701, allocations: 0 / 0.698 GB, free: 11.64 MB / 0.545 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 8.379e-05/0.1701, allocations: 121.5 kB / 0.6982 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.1702, allocations: 7.891 kB / 0.6982 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.1703, allocations: 61.16 kB / 0.6982 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1703, allocations: 7.984 kB / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1704, allocations: 3.984 kB / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1704, allocations: 0 / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1705, allocations: 161.6 kB / 0.6984 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1705, allocations: 0 / 0.6984 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.1706, allocations: 11.98 kB / 0.6984 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1706, allocations: 0 / 0.6984 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1706, allocations: 0 / 0.6984 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1706, allocations: 0 / 0.6984 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1706, allocations: 0 / 0.6984 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.1708, allocations: 163.4 kB / 0.6986 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.1708, allocations: 81.02 kB / 0.6986 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.1708, allocations: 4 kB / 0.6986 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.623e-05/0.1709, allocations: 0 / 0.6986 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.1709, allocations: 4 kB / 0.6986 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1709, allocations: 0 / 0.6986 GB, free: 10.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.171, allocations: 95.3 kB / 0.6987 GB, free: 10.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.171, allocations: 0 / 0.6987 GB, free: 10.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002219/0.1712, allocations: 12 kB / 0.6988 GB, free: 10.82 MB / 0.545 GB 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.0001458/0.1714, allocations: 111.2 kB / 0.6989 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1715, allocations: 23.98 kB / 0.6989 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1715, allocations: 0 / 0.6989 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.673e-05/0.1716, allocations: 19.92 kB / 0.6989 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.1718, allocations: 8.062 kB / 0.6989 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.1721, allocations: 160.2 kB / 0.6991 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1723, allocations: 0.6845 MB / 0.6997 GB, free: 9.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.1724, allocations: 11.44 kB / 0.6997 GB, free: 9.742 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.1724, allocations: 0 / 0.6997 GB, free: 9.742 MB / 0.545 GB Notification: Performance of Templates: time 0.002228/0.1746, allocations: 0.8193 MB / 0.7005 GB, free: 8.926 MB / 0.545 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)