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.001506/0.001506, allocations: 107 kB / 16.36 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.001698/0.001698, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002263/0.002264, allocations: 280.5 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.919/0.919, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 94.78 kB / 0.5966 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.14, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002664/0.1427, allocations: 1.645 MB / 0.6832 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000831/0.1435, allocations: 0.5154 MB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.1436, allocations: 0 / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.1441, allocations: 182.4 kB / 0.6839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.1444, allocations: 168 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.1448, allocations: 190.5 kB / 0.6842 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.145, allocations: 191.6 kB / 0.6844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1452, allocations: 45.47 kB / 0.6844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.426e-05/0.1453, allocations: 87.61 kB / 0.6845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.1454, allocations: 151.6 kB / 0.6847 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1455, allocations: 12 kB / 0.6847 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.153e-05/0.1456, allocations: 43.97 kB / 0.6847 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.1457, allocations: 87.69 kB / 0.6848 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.1458, allocations: 95.28 kB / 0.6849 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.146, allocations: 259.1 kB / 0.6851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.146, allocations: 0 / 0.6851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.146, allocations: 0 / 0.6851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1461, allocations: 7.938 kB / 0.6851 GB, free: 3.797 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.0007043/0.1468, allocations: 0.5835 MB / 0.6857 GB, free: 3.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1468, allocations: 12.03 kB / 0.6857 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.1469, allocations: 28.56 kB / 0.6858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.1473, allocations: 374.3 kB / 0.6861 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1473, allocations: 384 / 0.6861 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.1473, allocations: 16.36 kB / 0.6861 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1475, allocations: 73.72 kB / 0.6862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.1475, allocations: 0 / 0.6862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1476, allocations: 8 kB / 0.6862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1476, allocations: 0 / 0.6862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.1478, allocations: 47.95 kB / 0.6863 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.1483, allocations: 424.6 kB / 0.6867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1484, allocations: 50.61 kB / 0.6867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/0.1485, allocations: 20.84 kB / 0.6867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1485, allocations: 11.92 kB / 0.6867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1486, allocations: 38.55 kB / 0.6868 GB, free: 1.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.1486, allocations: 0 / 0.6868 GB, free: 1.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000357/0.1489, allocations: 121.3 kB / 0.6869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.149, allocations: 51.41 kB / 0.6869 GB, free: 1.781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.1495, allocations: 0.5055 MB / 0.6874 GB, free: 1.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1495, allocations: 29.7 kB / 0.6875 GB, free: 1.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1496, allocations: 164 kB / 0.6876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.1496, allocations: 11.84 kB / 0.6876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1497, allocations: 17.72 kB / 0.6876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1498, allocations: 346.8 kB / 0.688 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.549e-05/0.1499, allocations: 19.97 kB / 0.688 GB, free: 0.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.1499, allocations: 15.98 kB / 0.688 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.1501, allocations: 48.81 kB / 0.6881 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1501, allocations: 0 / 0.6881 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002118/0.1503, allocations: 105.2 kB / 0.6882 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1503, allocations: 4 kB / 0.6882 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.1503, allocations: 0 / 0.6882 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1504, allocations: 0 / 0.6882 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.1504, allocations: 11.98 kB / 0.6882 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1505, allocations: 0 / 0.6882 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.688e-05/0.1505, allocations: 15.88 kB / 0.6882 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1506, allocations: 4 kB / 0.6882 GB, free: 468 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.0001185/0.1507, allocations: 169.8 kB / 0.6884 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.1507, allocations: 27.62 kB / 0.6884 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.151, allocations: 116 kB / 0.6885 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.151, allocations: 384 / 0.6885 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.151, allocations: 4 kB / 0.6885 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.151, allocations: 7.938 kB / 0.6885 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2315/0.3826, allocations: 253.6 kB / 0.6887 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3826, allocations: 0.6562 kB / 0.6887 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.3827, allocations: 11.3 kB / 0.6888 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3827, allocations: 1.031 kB / 0.6888 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3827, allocations: 0.875 kB / 0.6888 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3827, allocations: 1.766 kB / 0.6888 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3827, allocations: 3.719 kB / 0.6888 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.383, allocations: 202.4 kB / 0.689 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.3831, allocations: 107.1 kB / 0.6891 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.3832, allocations: 4.844 kB / 0.6891 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3833, allocations: 11 kB / 0.6891 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.3833, allocations: 10.72 kB / 0.6891 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3833, allocations: 0.7188 kB / 0.6891 GB, free: 17.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003906/0.3837, allocations: 383.9 kB / 0.6894 GB, free: 17.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3837, allocations: 0.8438 kB / 0.6894 GB, free: 17.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.384, allocations: 25.98 kB / 0.6895 GB, free: 17.71 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.0007475/0.3848, allocations: 355.7 kB / 0.6898 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.385, allocations: 45.67 kB / 0.6899 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.385, allocations: 2.375 kB / 0.6899 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.3851, allocations: 25.98 kB / 0.6899 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3855, allocations: 42.58 kB / 0.6899 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.3861, allocations: 462.5 kB / 0.6904 GB, free: 17.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.3863, allocations: 0.7729 MB / 0.6911 GB, free: 16.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.153e-05/0.3864, allocations: 37.45 kB / 0.6912 GB, free: 16.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.3865, allocations: 21.36 kB / 0.6912 GB, free: 16.68 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3865, allocations: 4.891 kB / 0.6912 GB, free: 16.68 MB / 494.1 MB Notification: Performance of Templates: time 0.005586/0.3921, allocations: 2.263 MB / 0.6934 GB, free: 16.54 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)