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.001274/0.001274, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.00113/0.00113, allocations: 197.9 kB / 16.14 MB, free: 6.598 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.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 279.1 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9275/0.9275, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 97.25 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1416, allocations: 86.99 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.003025/0.1446, allocations: 1.699 MB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009095/0.1456, allocations: 0.5111 MB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.1456, allocations: 4 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.1461, allocations: 162.8 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.1464, allocations: 167.1 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.1468, allocations: 175 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.147, allocations: 195.5 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1471, allocations: 37.48 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.1472, allocations: 75.67 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1474, allocations: 147.6 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.1474, allocations: 4 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.183e-05/0.1475, allocations: 31.98 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.1476, allocations: 75.73 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.1477, allocations: 91.22 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.1479, allocations: 259.1 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.148, allocations: 0 / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.148, allocations: 0 / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.148, allocations: 0 / 0.683 GB, free: 13.62 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.0006918/0.1487, allocations: 0.5837 MB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1487, allocations: 8.031 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.1488, allocations: 32.56 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.1492, allocations: 374.2 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.1492, allocations: 8.375 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1493, allocations: 8.375 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1495, allocations: 73.78 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1495, allocations: 0 / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1495, allocations: 0 / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1495, allocations: 4 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.1497, allocations: 63.81 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.1502, allocations: 428.6 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1504, allocations: 42.59 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/0.1505, allocations: 28.89 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1505, allocations: 8 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1505, allocations: 38.5 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1505, allocations: 0 / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003806/0.1509, allocations: 109.4 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.1509, allocations: 55.34 kB / 0.6847 GB, free: 11.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.1515, allocations: 0.5094 MB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1515, allocations: 33.7 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1516, allocations: 164 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.1517, allocations: 7.844 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.1517, allocations: 13.72 kB / 0.6855 GB, free: 10.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1518, allocations: 350.7 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.319e-05/0.1519, allocations: 15.98 kB / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.152, allocations: 19.98 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.1522, allocations: 48.81 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1522, allocations: 0 / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002319/0.1524, allocations: 97.28 kB / 0.686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1524, allocations: 4 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1525, allocations: 3.938 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1525, allocations: 0 / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.1526, allocations: 19.98 kB / 0.686 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1526, allocations: 0 / 0.686 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.1527, allocations: 11.92 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1527, allocations: 0 / 0.686 GB, free: 10.27 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.00014/0.1528, allocations: 170.5 kB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.1529, allocations: 27.62 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.1532, allocations: 108.1 kB / 0.6863 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1532, allocations: 4 kB / 0.6863 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1532, allocations: 0 / 0.6863 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1532, allocations: 7.938 kB / 0.6863 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1535, allocations: 261.5 kB / 0.6866 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1535, allocations: 0 / 0.6866 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.1536, allocations: 19.86 kB / 0.6866 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1536, allocations: 0 / 0.6866 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1536, allocations: 0 / 0.6866 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1536, allocations: 0 / 0.6866 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1536, allocations: 0 / 0.6866 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1539, allocations: 203.4 kB / 0.6868 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.154, allocations: 116.7 kB / 0.6869 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.154, allocations: 0 / 0.6869 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1541, allocations: 7.984 kB / 0.6869 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.1542, allocations: 4 kB / 0.6869 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1542, allocations: 3.938 kB / 0.6869 GB, free: 9.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003887/0.1546, allocations: 391.1 kB / 0.6873 GB, free: 8.871 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1546, allocations: 3.938 kB / 0.6873 GB, free: 8.867 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1548, allocations: 23.98 kB / 0.6873 GB, free: 8.844 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.0008485/0.1557, allocations: 354.5 kB / 0.6876 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1559, allocations: 43.95 kB / 0.6877 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1559, allocations: 0 / 0.6877 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.156, allocations: 19.98 kB / 0.6877 GB, free: 8.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1564, allocations: 40.03 kB / 0.6877 GB, free: 8.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/0.1571, allocations: 0.5219 MB / 0.6882 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.1575, allocations: 0.7752 MB / 0.689 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.331e-05/0.1576, allocations: 41.86 kB / 0.689 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.1577, allocations: 19.44 kB / 0.6891 GB, free: 7.109 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1577, allocations: 0 / 0.6891 GB, free: 7.109 MB / 494.1 MB Notification: Performance of Templates: time 0.004914/0.1626, allocations: 2.153 MB / 0.6912 GB, free: 4.965 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)