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.00136/0.00136, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 199.8 kB / 16.64 MB, free: 6.43 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.329/1.329, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.724/1.724, allocations: 292.3 MB / 0.549 GB, free: 12.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.001392/0.001392, allocations: 77.67 kB / 0.6723 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1991, allocations: 114.5 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002675/0.2018, allocations: 0.882 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2032, allocations: 0.8671 MB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-05/0.2033, allocations: 4 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.729e-05/0.2034, allocations: 11.86 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2035, allocations: 19.75 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.2037, allocations: 39.94 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.2039, allocations: 107.7 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.2041, allocations: 33.11 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2042, allocations: 55.77 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2043, allocations: 47.78 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.2043, allocations: 12 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.2044, allocations: 12 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.2044, allocations: 23.91 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.2045, allocations: 51.73 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.2046, allocations: 127.5 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2046, allocations: 0 / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2047, allocations: 0 / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.2047, allocations: 0 / 0.7864 GB, free: 10.4 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.0008956/0.2056, allocations: 466.9 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2056, allocations: 8.031 kB / 0.7868 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.2057, allocations: 12.84 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.2059, allocations: 188.1 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2059, allocations: 8.375 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.2059, allocations: 8.375 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.2061, allocations: 102.1 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2061, allocations: 192 / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2062, allocations: 7.938 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2062, allocations: 8 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.2063, allocations: 55.97 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.2071, allocations: 404.5 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.2072, allocations: 58.55 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.2073, allocations: 32.97 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.2074, allocations: 0 / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.2074, allocations: 34.56 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.144e-06/0.2074, allocations: 0 / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003409/0.2077, allocations: 121.3 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.2078, allocations: 51.41 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2079, allocations: 165.5 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2079, allocations: 25.7 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.208, allocations: 104 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.208, allocations: 19.89 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.2081, allocations: 21.7 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.2082, allocations: 322.8 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.2083, allocations: 27.98 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.967e-05/0.2084, allocations: 31.97 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.2085, allocations: 48.77 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2085, allocations: 4 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002111/0.2087, allocations: 97.56 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2088, allocations: 4 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2088, allocations: 0 / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2088, allocations: 0 / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.2089, allocations: 8 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2089, allocations: 7.922 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.2091, allocations: 39.95 kB / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2091, allocations: 0 / 0.7887 GB, free: 7.727 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 8.465e-05/0.2092, allocations: 118.4 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.2092, allocations: 7.906 kB / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.2093, allocations: 16.31 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2093, allocations: 0 / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2093, allocations: 7.938 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2093, allocations: 11.92 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.2095, allocations: 193.6 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2095, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/0.2096, allocations: 8 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2096, allocations: 0 / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.2096, allocations: 8.234 kB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2096, allocations: 0 / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2096, allocations: 7.938 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.2099, allocations: 179.4 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.2099, allocations: 92.98 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.21, allocations: 4 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.2102, allocations: 23.91 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.2102, allocations: 27.86 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-06/0.2103, allocations: 0 / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.776e-05/0.2103, allocations: 117.5 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2103, allocations: 0 / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002523/0.2106, allocations: 15.91 kB / 0.7895 GB, free: 6.805 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 0.0001013/0.2107, allocations: 103.2 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.2109, allocations: 67.94 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.211, allocations: 4 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.2111, allocations: 35.92 kB / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.2114, allocations: 14.52 kB / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.2118, allocations: 204.7 kB / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.212, allocations: 0.7065 MB / 0.7906 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.114e-05/0.2121, allocations: 4 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.2121, allocations: 15.44 kB / 0.7907 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2121, allocations: 0 / 0.7907 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of Templates: time 0.003574/0.2157, allocations: 1.368 MB / 0.792 GB, free: 4.258 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)