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.001543/0.001543, allocations: 111.5 kB / 16.38 MB, free: 6.02 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.001795/0.001795, allocations: 195.8 kB / 17.31 MB, free: 5.617 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.334/1.334, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.702/1.702, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001371/0.001372, allocations: 63.89 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1866, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002049/0.1887, allocations: 0.8919 MB / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008367/0.1896, allocations: 0.8671 MB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.1896, allocations: 4 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.1897, allocations: 7.875 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.184e-05/0.1898, allocations: 15.8 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.1899, allocations: 35.91 kB / 0.7866 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1901, allocations: 123.6 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1902, allocations: 37.09 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.1903, allocations: 39.86 kB / 0.7868 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.016e-05/0.1904, allocations: 55.75 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1904, allocations: 12 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/0.1905, allocations: 16 kB / 0.7869 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.1905, allocations: 15.92 kB / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.1905, allocations: 47.8 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1907, allocations: 139.4 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1907, allocations: 0 / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1907, allocations: 0 / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1907, allocations: 0 / 0.787 GB, free: 0.8633 MB / 0.6544 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.0008408/0.1916, allocations: 459 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1916, allocations: 8.031 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.1917, allocations: 20.78 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1918, allocations: 179 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1918, allocations: 12.31 kB / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.1918, allocations: 4.375 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.192, allocations: 102.1 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.192, allocations: 192 / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1921, allocations: 3.938 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1921, allocations: 0 / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3106/0.5026, allocations: 69.8 kB / 0.7879 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.5033, allocations: 399.9 kB / 0.7882 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.5035, allocations: 67.31 kB / 0.7883 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.55e-05/0.5036, allocations: 28.09 kB / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.5036, allocations: 6.406 kB / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.5036, allocations: 30.56 kB / 0.7884 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.863e-06/0.5036, allocations: 1.938 kB / 0.7884 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0003265/0.504, allocations: 107 kB / 0.7885 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.371e-05/0.504, allocations: 57.34 kB / 0.7885 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.5041, allocations: 162.4 kB / 0.7887 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.5041, allocations: 25.7 kB / 0.7887 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.5041, allocations: 103.1 kB / 0.7888 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.5042, allocations: 13.16 kB / 0.7888 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.5042, allocations: 25.17 kB / 0.7888 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.5042, allocations: 322.7 kB / 0.7892 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.5043, allocations: 29.7 kB / 0.7892 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.5044, allocations: 26.66 kB / 0.7892 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.5045, allocations: 50.72 kB / 0.7893 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5046, allocations: 3.25 kB / 0.7893 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001823/0.5047, allocations: 98.41 kB / 0.7894 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5048, allocations: 5.312 kB / 0.7894 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5048, allocations: 2.625 kB / 0.7894 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5048, allocations: 0 / 0.7894 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.5049, allocations: 8.562 kB / 0.7894 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5049, allocations: 1.219 kB / 0.7894 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.5051, allocations: 39.7 kB / 0.7894 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.5051, allocations: 3.938 kB / 0.7894 GB, free: 48.04 MB / 0.6544 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 5.94e-05/0.5052, allocations: 118.4 kB / 0.7895 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.5052, allocations: 11.86 kB / 0.7895 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.5052, allocations: 19.3 kB / 0.7896 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.5052, allocations: 0 / 0.7896 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5052, allocations: 3.438 kB / 0.7896 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.5053, allocations: 85.11 kB / 0.7896 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.5053, allocations: 5.281 kB / 0.7896 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.5055, allocations: 25 kB / 0.7897 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.5056, allocations: 15.38 kB / 0.7897 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003169/0.5059, allocations: 189 kB / 0.7899 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001939/0.5061, allocations: 258.5 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.217e-05/0.5062, allocations: 33.95 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.5062, allocations: 120.1 kB / 0.7903 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of Backend: time 4.91e-07/0.5062, allocations: 0.5469 kB / 0.7903 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.5066, allocations: 121.4 kB / 0.7904 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004079/0.507, allocations: 0.643 MB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.003375/0.5104, allocations: 1.498 MB / 0.7925 GB, free: 46.75 MB / 0.6544 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)