Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 288.3 MB / 303.2 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 177.9 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 0.6306 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 92.41 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 14.28 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1776, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.000978/0.1787, allocations: 0.564 MB / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.1796, allocations: 0.8721 MB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.1797, allocations: 0 / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.1797, allocations: 3.938 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1798, allocations: 19.95 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.18, allocations: 27.86 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1801, allocations: 63.91 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1803, allocations: 33.3 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1804, allocations: 35.84 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.1805, allocations: 43.77 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1805, allocations: 0 / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.1805, allocations: 4 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.1806, allocations: 11.92 kB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.1806, allocations: 41.64 kB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.1807, allocations: 92 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1807, allocations: 0 / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1807, allocations: 0 / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1807, allocations: 4 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008451/0.1816, allocations: 454.9 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1817, allocations: 8.031 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.1817, allocations: 11.91 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1819, allocations: 191.5 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1819, allocations: 4 kB / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.1819, allocations: 8 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.1822, allocations: 101.5 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1822, allocations: 0 / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1822, allocations: 0 / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1822, allocations: 4 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.1824, allocations: 71.97 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.1831, allocations: 420.5 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1832, allocations: 66.55 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1832, allocations: 3.953 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1833, allocations: 38.62 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1833, allocations: 0 / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003363/0.1836, allocations: 121.5 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.1837, allocations: 59.41 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1838, allocations: 147.3 kB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.1838, allocations: 29.64 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.1838, allocations: 108 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1839, allocations: 19.8 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.1839, allocations: 0 / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.1839, allocations: 322.8 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.184, allocations: 31.98 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.1841, allocations: 31.97 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.465e-05/0.1842, allocations: 31.98 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1842, allocations: 4 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001996/0.1844, allocations: 105.6 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1844, allocations: 4 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1844, allocations: 0 / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1845, allocations: 8 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.1846, allocations: 11.98 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1846, allocations: 0 / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.1848, allocations: 35.91 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1848, allocations: 4 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.657e-05/0.1849, allocations: 120 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.1849, allocations: 11.86 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.1849, allocations: 16.3 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.185, allocations: 4 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.185, allocations: 0 / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.185, allocations: 0 / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1851, allocations: 197.8 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1851, allocations: 4 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.1852, allocations: 23.92 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1852, allocations: 4 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1853, allocations: 3.953 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1853, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1853, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.1855, allocations: 187.4 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.1855, allocations: 92.95 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1855, allocations: 0 / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1857, allocations: 35.92 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.1858, allocations: 19.97 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1858, allocations: 0 / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.1859, allocations: 118.3 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1859, allocations: 0 / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002243/0.1861, allocations: 12 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.098e-05/0.1862, allocations: 103.2 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.1865, allocations: 83.94 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1865, allocations: 0 / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.1866, allocations: 39.92 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1868, allocations: 8.75 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.1872, allocations: 235 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.1873, allocations: 0.7043 MB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.384e-05/0.1874, allocations: 15.75 kB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.1875, allocations: 7.438 kB / 0.9855 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1875, allocations: 4 kB / 0.9855 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.002948/0.1904, allocations: 1.072 MB / 0.9866 GB, free: 20.02 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)