Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001106/0.001106, allocations: 193.8 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 292.2 MB / 0.5484 GB, free: 13.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.95 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1894, allocations: 114.6 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002142/0.1916, allocations: 0.9421 MB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009703/0.1926, allocations: 0.871 MB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.1927, allocations: 0 / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.1927, allocations: 3.938 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.47e-05/0.1928, allocations: 19.86 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.193, allocations: 31.97 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1931, allocations: 99.7 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1933, allocations: 41.09 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1934, allocations: 43.78 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.1935, allocations: 51.75 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1935, allocations: 8 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.1935, allocations: 4 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.1936, allocations: 15.92 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.1936, allocations: 39.73 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1938, allocations: 123.8 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1938, allocations: 4 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1938, allocations: 0 / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.1938, allocations: 0 / 0.7849 GB, free: 11.73 MB / 0.6075 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.0008679/0.1947, allocations: 455 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1947, allocations: 8.031 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.1948, allocations: 12.84 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1949, allocations: 192 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1949, allocations: 4.375 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.195, allocations: 12.38 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.1952, allocations: 98.14 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1952, allocations: 4.125 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1952, allocations: 7.875 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1952, allocations: 4 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.1954, allocations: 63.95 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.1961, allocations: 396.5 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1963, allocations: 66.48 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.1964, allocations: 36.97 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1964, allocations: 0 / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1964, allocations: 38.56 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1964, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003399/0.1968, allocations: 113.5 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.1968, allocations: 51.41 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1969, allocations: 161.3 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.197, allocations: 25.7 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.197, allocations: 104 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1971, allocations: 15.83 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.1971, allocations: 21.72 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.1972, allocations: 322.8 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.1973, allocations: 27.98 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.1974, allocations: 31.97 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1975, allocations: 48.83 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1975, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002298/0.1978, allocations: 93.56 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1978, allocations: 8 kB / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1978, allocations: 0 / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1978, allocations: 0 / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1979, allocations: 15.92 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.198, allocations: 4.172 kB / 0.7872 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.1981, allocations: 35.95 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1982, allocations: 7.984 kB / 0.7873 GB, free: 9.066 MB / 0.6075 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.207e-05/0.1983, allocations: 125.1 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.1983, allocations: 7.906 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.1983, allocations: 16.3 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1984, allocations: 0 / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1984, allocations: 7.938 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1984, allocations: 3.938 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.1986, allocations: 193.6 kB / 0.7876 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1986, allocations: 0 / 0.7876 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.1987, allocations: 19.98 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1987, allocations: 0 / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.1987, allocations: 0 / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1987, allocations: 0 / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1987, allocations: 3.938 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.199, allocations: 187.6 kB / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.199, allocations: 93.02 kB / 0.7879 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.199, allocations: 4 kB / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.1992, allocations: 19.97 kB / 0.7879 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.1993, allocations: 23.91 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1993, allocations: 0 / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.1994, allocations: 117.7 kB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1994, allocations: 0 / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002323/0.1996, allocations: 19.91 kB / 0.7881 GB, free: 8.145 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.745e-05/0.1998, allocations: 103.2 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.2, allocations: 63.91 kB / 0.7883 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2, allocations: 0 / 0.7883 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.2001, allocations: 35.97 kB / 0.7883 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2004, allocations: 12 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.2008, allocations: 233.4 kB / 0.7885 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.2011, allocations: 0.7004 MB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.765e-05/0.2011, allocations: 7.984 kB / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.2012, allocations: 11.44 kB / 0.7892 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2012, allocations: 0 / 0.7892 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of Templates: time 0.003309/0.2045, allocations: 1.123 MB / 0.7903 GB, free: 5.828 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)