Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table") translateModel(BuildingSystems.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001061, allocations: 99.97 kB / 16.35 MB, free: 5.828 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.0009951/0.0009951, allocations: 191.1 kB / 17.29 MB, free: 5.484 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 294.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8992/0.8992, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 102.2 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1729, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.003037/0.176, allocations: 1.641 MB / 0.6832 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009524/0.177, allocations: 0.5193 MB / 0.6837 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.177, allocations: 4 kB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.1776, allocations: 182.4 kB / 0.6839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.178, allocations: 156 kB / 0.684 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.1784, allocations: 186.5 kB / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.1786, allocations: 207.5 kB / 0.6844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1788, allocations: 41.42 kB / 0.6844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1789, allocations: 83.72 kB / 0.6845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1791, allocations: 155.5 kB / 0.6847 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.1791, allocations: 12 kB / 0.6847 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.673e-05/0.1792, allocations: 40 kB / 0.6847 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.777e-05/0.1793, allocations: 79.73 kB / 0.6848 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.576e-05/0.1794, allocations: 91.28 kB / 0.6849 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1797, allocations: 263.1 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1797, allocations: 4 kB / 0.6851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1797, allocations: 3.938 kB / 0.6851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1797, allocations: 0 / 0.6851 GB, free: 3.812 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000741/0.1805, allocations: 0.5875 MB / 0.6857 GB, free: 3.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1805, allocations: 15.97 kB / 0.6857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.1806, allocations: 28.56 kB / 0.6858 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.1811, allocations: 378.2 kB / 0.6861 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1811, allocations: 384 / 0.6861 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1811, allocations: 8.375 kB / 0.6861 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1813, allocations: 69.8 kB / 0.6862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1813, allocations: 4 kB / 0.6862 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1813, allocations: 4 kB / 0.6862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1813, allocations: 4 kB / 0.6862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.1815, allocations: 55.88 kB / 0.6863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.1821, allocations: 420.7 kB / 0.6867 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.1822, allocations: 62.56 kB / 0.6867 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.1823, allocations: 20.84 kB / 0.6867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.1824, allocations: 4 kB / 0.6867 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1824, allocations: 30.56 kB / 0.6868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1824, allocations: 4 kB / 0.6868 GB, free: 1.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003536/0.1828, allocations: 117.3 kB / 0.6869 GB, free: 1.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.1828, allocations: 55.39 kB / 0.6869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.1833, allocations: 0.5055 MB / 0.6874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1833, allocations: 29.7 kB / 0.6875 GB, free: 1.242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1835, allocations: 164 kB / 0.6876 GB, free: 1.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1835, allocations: 15.83 kB / 0.6876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1835, allocations: 17.72 kB / 0.6877 GB, free: 1.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1837, allocations: 346.8 kB / 0.688 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.1837, allocations: 15.98 kB / 0.688 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.1838, allocations: 23.97 kB / 0.688 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.184, allocations: 36.83 kB / 0.6881 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.184, allocations: 4 kB / 0.6881 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002218/0.1842, allocations: 101.3 kB / 0.6882 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1842, allocations: 4 kB / 0.6882 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1842, allocations: 0 / 0.6882 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1842, allocations: 0 / 0.6882 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.1843, allocations: 15.92 kB / 0.6882 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1843, allocations: 0 / 0.6882 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.1844, allocations: 11.92 kB / 0.6882 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1844, allocations: 4 kB / 0.6882 GB, free: 480 kB / 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 (3): * Single equations (assignments): 3 * 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 0.0001318/0.1846, allocations: 173.8 kB / 0.6884 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.1846, allocations: 31.62 kB / 0.6884 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.1849, allocations: 108 kB / 0.6885 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1849, allocations: 0 / 0.6885 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1849, allocations: 0 / 0.6885 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1849, allocations: 7.938 kB / 0.6885 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2868/0.4717, allocations: 259.1 kB / 0.6887 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4717, allocations: 1.531 kB / 0.6887 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/0.4718, allocations: 14.55 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.4718, allocations: 0.75 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4718, allocations: 4.25 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4719, allocations: 1.125 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4719, allocations: 0.6875 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.4722, allocations: 202.4 kB / 0.689 GB, free: 17.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.4723, allocations: 104.6 kB / 0.6891 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4723, allocations: 4.75 kB / 0.6891 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4724, allocations: 6.562 kB / 0.6891 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.4725, allocations: 8.766 kB / 0.6891 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4725, allocations: 1.562 kB / 0.6891 GB, free: 17.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004193/0.4729, allocations: 386.6 kB / 0.6894 GB, free: 17.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4729, allocations: 0 / 0.6894 GB, free: 17.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.4732, allocations: 22.69 kB / 0.6895 GB, free: 17.73 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 (3): * Single equations (assignments): 3 * 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.0007241/0.4739, allocations: 364.3 kB / 0.6898 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.4742, allocations: 42.58 kB / 0.6899 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4742, allocations: 0.625 kB / 0.6899 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.4743, allocations: 24.02 kB / 0.6899 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4746, allocations: 45.34 kB / 0.6899 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.4753, allocations: 464.7 kB / 0.6904 GB, free: 17.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.4755, allocations: 0.7733 MB / 0.6911 GB, free: 16.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.4756, allocations: 38.33 kB / 0.6912 GB, free: 16.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.4756, allocations: 20.61 kB / 0.6912 GB, free: 16.7 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4757, allocations: 1.469 kB / 0.6912 GB, free: 16.7 MB / 494.1 MB Notification: Performance of Templates: time 0.005537/0.4812, allocations: 2.277 MB / 0.6934 GB, free: 16.55 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)