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.001128/0.001128, allocations: 108.2 kB / 16.29 MB, free: 6.027 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.00115/0.00115, allocations: 183.8 kB / 17.22 MB, free: 5.637 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.181/1.181, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.585/1.585, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001291/0.001291, allocations: 64.47 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1863, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001928/0.1883, allocations: 0.8874 MB / 0.7849 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008467/0.1892, allocations: 0.8632 MB / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.1892, allocations: 0 / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.1892, allocations: 7.875 kB / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.571e-05/0.1893, allocations: 23.78 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.1895, allocations: 39.95 kB / 0.7859 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1896, allocations: 111.7 kB / 0.786 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1898, allocations: 41.09 kB / 0.786 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.818e-05/0.1899, allocations: 51.78 kB / 0.7861 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.19, allocations: 47.77 kB / 0.7861 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.19, allocations: 8 kB / 0.7861 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/0.19, allocations: 12 kB / 0.7861 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.1901, allocations: 31.91 kB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.1901, allocations: 43.73 kB / 0.7862 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1903, allocations: 131.7 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1903, allocations: 4 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1903, allocations: 0 / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1903, allocations: 0 / 0.7863 GB, free: 1.59 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.0007879/0.1911, allocations: 455 kB / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1911, allocations: 12.03 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.1912, allocations: 8.844 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1913, allocations: 188.2 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1913, allocations: 8.375 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1914, allocations: 8.375 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.1916, allocations: 90.09 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1916, allocations: 192 / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.1916, allocations: 15.92 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1916, allocations: 0 / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.1918, allocations: 59.97 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.1924, allocations: 412.4 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1925, allocations: 62.55 kB / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.1926, allocations: 28.97 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1927, allocations: 7.938 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.1927, allocations: 30.56 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.1927, allocations: 0 / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.2887/0.4814, allocations: 115.2 kB / 0.7878 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.4814, allocations: 53.19 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4816, allocations: 156.4 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.4816, allocations: 31.11 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.4816, allocations: 101.9 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.4817, allocations: 19.28 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.4817, allocations: 21.33 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.4818, allocations: 323.5 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.4818, allocations: 27.44 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.4819, allocations: 31.23 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.482, allocations: 53.83 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.482, allocations: 0 / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001935/0.4822, allocations: 94.08 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4823, allocations: 6.281 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4823, allocations: 3.094 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4823, allocations: 3.75 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.4824, allocations: 9.688 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4824, allocations: 2.969 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.4826, allocations: 29.58 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.4826, allocations: 2.625 kB / 0.7887 GB, free: 48.2 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.831e-05/0.4826, allocations: 123.1 kB / 0.7888 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.4827, allocations: 6.688 kB / 0.7888 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.4827, allocations: 19.78 kB / 0.7888 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4827, allocations: 2.938 kB / 0.7888 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4827, allocations: 0 / 0.7888 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4827, allocations: 2.875 kB / 0.7888 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.4829, allocations: 200.5 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4829, allocations: 3.234 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.483, allocations: 12.84 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.483, allocations: 3.469 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.483, allocations: 6.75 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.483, allocations: 3.562 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.483, allocations: 3.375 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.4832, allocations: 178.8 kB / 0.7892 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.4832, allocations: 88.61 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.4832, allocations: 3.938 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.4834, allocations: 27.97 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.4834, allocations: 14 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.4835, allocations: 0.5312 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.4835, allocations: 118 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4835, allocations: 0 / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000212/0.4837, allocations: 15.94 kB / 0.7895 GB, free: 47.58 MB / 0.6544 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 7.945e-05/0.4838, allocations: 104.6 kB / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.484, allocations: 71.08 kB / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.484, allocations: 0 / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.525e-05/0.4841, allocations: 33.44 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.4844, allocations: 12.48 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.4848, allocations: 206.6 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.4849, allocations: 0.7001 MB / 0.7906 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.308e-05/0.485, allocations: 5.75 kB / 0.7906 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.485, allocations: 16.05 kB / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.485, allocations: 0 / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.003264/0.4883, allocations: 1.365 MB / 0.7919 GB, free: 46.65 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)