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.001024/0.001024, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007403/0.007403, allocations: 168.4 kB / 16.26 MB, free: 6.652 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 274.4 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9357/0.9357, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004331, allocations: 12.94 kB / 0.5986 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.001862/0.1532, allocations: 1.347 MB / 0.6864 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008332/0.1541, allocations: 0.5041 MB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.1542, allocations: 4 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.1546, allocations: 176.9 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1549, allocations: 151.1 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.1553, allocations: 178.6 kB / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1555, allocations: 191.5 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1556, allocations: 39.75 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1558, allocations: 77.23 kB / 0.6877 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1559, allocations: 143.5 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.156, allocations: 4 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-05/0.1561, allocations: 28.56 kB / 0.6879 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.1562, allocations: 79.72 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.1562, allocations: 107.7 kB / 0.6881 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1565, allocations: 255 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1565, allocations: 0 / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1565, allocations: 0 / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1565, allocations: 0 / 0.6883 GB, free: 11.86 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.0006645/0.1572, allocations: 0.5583 MB / 0.6888 GB, free: 11.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1572, allocations: 8.031 kB / 0.6888 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.1573, allocations: 32.55 kB / 0.6889 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.1577, allocations: 368.1 kB / 0.6892 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1577, allocations: 384 / 0.6892 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1578, allocations: 4.375 kB / 0.6892 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.158, allocations: 86.59 kB / 0.6893 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.158, allocations: 0.7188 kB / 0.6893 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.158, allocations: 0 / 0.6893 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.158, allocations: 0.625 kB / 0.6893 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.1582, allocations: 66.02 kB / 0.6894 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.1587, allocations: 428.5 kB / 0.6898 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1589, allocations: 54.55 kB / 0.6898 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.159, allocations: 32.91 kB / 0.6899 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.159, allocations: 3.984 kB / 0.6899 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.159, allocations: 34.59 kB / 0.6899 GB, free: 10.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1591, allocations: 4 kB / 0.6899 GB, free: 10.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.00039/0.1595, allocations: 133.4 kB / 0.69 GB, free: 9.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.1595, allocations: 51.41 kB / 0.6901 GB, free: 9.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.16, allocations: 0.5055 MB / 0.6906 GB, free: 9.328 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.16, allocations: 25.7 kB / 0.6906 GB, free: 9.297 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1602, allocations: 172 kB / 0.6908 GB, free: 9.125 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1602, allocations: 15.78 kB / 0.6908 GB, free: 9.109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.1602, allocations: 13.72 kB / 0.6908 GB, free: 9.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1604, allocations: 342.8 kB / 0.6911 GB, free: 8.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.1605, allocations: 23.97 kB / 0.6911 GB, free: 8.723 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.609e-05/0.1606, allocations: 32.02 kB / 0.6912 GB, free: 8.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1607, allocations: 60.75 kB / 0.6912 GB, free: 8.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1607, allocations: 0 / 0.6912 GB, free: 8.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000244/0.161, allocations: 113.3 kB / 0.6913 GB, free: 8.512 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.161, allocations: 4 kB / 0.6913 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.161, allocations: 0 / 0.6913 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.161, allocations: 3.938 kB / 0.6914 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.1611, allocations: 15.98 kB / 0.6914 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1611, allocations: 0 / 0.6914 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.1612, allocations: 11.94 kB / 0.6914 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.1612, allocations: 4 kB / 0.6914 GB, free: 8.473 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 (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.0001358/0.1614, allocations: 170.5 kB / 0.6915 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.1614, allocations: 27.62 kB / 0.6916 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.1617, allocations: 128 kB / 0.6917 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1617, allocations: 0 / 0.6917 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1617, allocations: 0 / 0.6917 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1617, allocations: 3.938 kB / 0.6917 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.162, allocations: 257.5 kB / 0.6919 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.162, allocations: 4 kB / 0.6919 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.1621, allocations: 11.98 kB / 0.692 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1621, allocations: 4 kB / 0.692 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1621, allocations: 0 / 0.692 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1621, allocations: 0 / 0.692 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1621, allocations: 8 kB / 0.692 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1624, allocations: 215 kB / 0.6922 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.1625, allocations: 108.8 kB / 0.6923 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1625, allocations: 0 / 0.6923 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1626, allocations: 11.98 kB / 0.6923 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.1627, allocations: 0 / 0.6923 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1627, allocations: 11.92 kB / 0.6923 GB, free: 7.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003914/0.1631, allocations: 387.1 kB / 0.6927 GB, free: 7.051 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1631, allocations: 0 / 0.6927 GB, free: 7.051 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1634, allocations: 27.84 kB / 0.6927 GB, free: 7.023 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.0007974/0.1642, allocations: 356.3 kB / 0.693 GB, free: 6.797 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1644, allocations: 55.95 kB / 0.6931 GB, free: 6.742 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1644, allocations: 0 / 0.6931 GB, free: 6.742 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1645, allocations: 31.91 kB / 0.6931 GB, free: 6.711 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1649, allocations: 37.55 kB / 0.6932 GB, free: 6.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.1656, allocations: 0.5194 MB / 0.6937 GB, free: 6.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1659, allocations: 0.7713 MB / 0.6944 GB, free: 5.332 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.234e-05/0.166, allocations: 37.92 kB / 0.6945 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.166, allocations: 23.44 kB / 0.6945 GB, free: 5.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.465e-06/0.166, allocations: 3.938 kB / 0.6945 GB, free: 5.266 MB / 494.1 MB Notification: Performance of Templates: time 0.004793/0.1708, allocations: 2.121 MB / 0.6966 GB, free: 3.156 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)