Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.51/1.51, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001162/0.001162, allocations: 192.5 kB / 376.9 MB, free: 1.777 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.202/1.202, allocations: 205 MB / 0.6353 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008995/0.0008994, allocations: 102.1 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000924/0.000924, allocations: 55.91 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1827, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002014/0.1848, allocations: 0.8791 MB / 0.9831 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1861, allocations: 1.152 MB / 0.9842 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.1862, allocations: 0 / 0.9842 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.1862, allocations: 3.938 kB / 0.9842 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.034e-05/0.1863, allocations: 11.94 kB / 0.9842 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1867, allocations: 131.8 kB / 0.9844 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1869, allocations: 131.7 kB / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.187, allocations: 31.98 kB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.72e-05/0.1871, allocations: 55.77 kB / 0.9846 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.1872, allocations: 47.81 kB / 0.9846 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1872, allocations: 8 kB / 0.9846 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.38e-05/0.1873, allocations: 23.98 kB / 0.9846 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.1873, allocations: 7.984 kB / 0.9846 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.1874, allocations: 55.77 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1876, allocations: 139.8 kB / 0.9848 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1876, allocations: 4 kB / 0.9848 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.62e-07/0.1876, allocations: 0 / 0.9848 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.1876, allocations: 0 / 0.9848 GB, free: 7.66 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005715/0.1882, allocations: 440.8 kB / 0.9853 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1882, allocations: 8.031 kB / 0.9853 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.1883, allocations: 12.84 kB / 0.9853 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.1884, allocations: 176.2 kB / 0.9854 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1884, allocations: 4.375 kB / 0.9855 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1884, allocations: 12.38 kB / 0.9855 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1886, allocations: 90.2 kB / 0.9855 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1886, allocations: 192 / 0.9855 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1887, allocations: 3.938 kB / 0.9856 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1887, allocations: 3.984 kB / 0.9856 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.1889, allocations: 59.89 kB / 0.9856 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.1894, allocations: 384.4 kB / 0.986 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1896, allocations: 58.48 kB / 0.986 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.462e-05/0.1897, allocations: 28.94 kB / 0.9861 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1897, allocations: 0 / 0.9861 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.1899, allocations: 87.36 kB / 0.9861 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1899, allocations: 4 kB / 0.9862 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003907/0.1903, allocations: 129.5 kB / 0.9863 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1904, allocations: 51.41 kB / 0.9863 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.795e-05/0.1905, allocations: 133.7 kB / 0.9865 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1905, allocations: 29.7 kB / 0.9865 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.1906, allocations: 104 kB / 0.9866 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.1906, allocations: 11.8 kB / 0.9866 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.1907, allocations: 37.7 kB / 0.9866 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.1908, allocations: 322.8 kB / 0.9869 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1909, allocations: 47.97 kB / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.1911, allocations: 79.39 kB / 0.9871 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.1913, allocations: 120.2 kB / 0.9872 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1914, allocations: 96 / 0.9872 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003943/0.1918, allocations: 207.1 kB / 0.9874 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.1918, allocations: 33.7 kB / 0.9874 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1918, allocations: 7.984 kB / 0.9874 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1918, allocations: 0 / 0.9874 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.1919, allocations: 4 kB / 0.9874 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1919, allocations: 4 kB / 0.9874 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.1922, allocations: 47.81 kB / 0.9875 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.1922, allocations: 8 kB / 0.9875 GB, free: 4.691 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.524e-05/0.1923, allocations: 125.8 kB / 0.9876 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.1923, allocations: 3.906 kB / 0.9876 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.1923, allocations: 16.36 kB / 0.9876 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1923, allocations: 0 / 0.9876 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1923, allocations: 0 / 0.9876 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1924, allocations: 3.938 kB / 0.9876 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1925, allocations: 181.6 kB / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1925, allocations: 3.984 kB / 0.9878 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.1926, allocations: 12 kB / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1926, allocations: 0 / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1926, allocations: 7.984 kB / 0.9878 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1926, allocations: 0 / 0.9878 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1926, allocations: 320 / 0.9878 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.1932, allocations: 0.7059 MB / 0.9885 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.1932, allocations: 88.95 kB / 0.9886 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1932, allocations: 4 kB / 0.9886 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.1933, allocations: 11.98 kB / 0.9886 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.1933, allocations: 7.984 kB / 0.9886 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.1934, allocations: 3.984 kB / 0.9886 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.357e-05/0.1934, allocations: 95.28 kB / 0.9887 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1934, allocations: 0 / 0.9887 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003143/0.1937, allocations: 27.98 kB / 0.9887 GB, free: 3.262 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001124/0.1938, allocations: 107.2 kB / 0.9888 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003379/0.1942, allocations: 171.3 kB / 0.989 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1942, allocations: 3.938 kB / 0.989 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1943, allocations: 31.92 kB / 0.989 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.1945, allocations: 28.88 kB / 0.9891 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.1949, allocations: 311.6 kB / 0.9894 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.1951, allocations: 0.6965 MB / 0.99 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.1952, allocations: 11.97 kB / 0.99 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.1952, allocations: 11.44 kB / 0.9901 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.1952, allocations: 0 / 0.9901 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.003455/0.1987, allocations: 1.514 MB / 0.9915 GB, free: 328 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)