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.001134/0.001134, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001071/0.001071, allocations: 200.4 kB / 16.91 MB, free: 6.195 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.407/1.407, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.783/1.783, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001348/0.001348, allocations: 71.42 kB / 0.6717 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2257, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002316/0.2281, allocations: 0.9577 MB / 0.7845 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2291, allocations: 0.8672 MB / 0.7853 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.2292, allocations: 0 / 0.7853 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.492e-05/0.2293, allocations: 3.938 kB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2294, allocations: 19.86 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.2296, allocations: 31.92 kB / 0.7854 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.2297, allocations: 115.7 kB / 0.7855 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2299, allocations: 37.09 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.23, allocations: 43.84 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.2301, allocations: 59.75 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.2301, allocations: 12 kB / 0.7856 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.864e-05/0.2302, allocations: 8 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.2302, allocations: 19.92 kB / 0.7856 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.2302, allocations: 55.67 kB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2304, allocations: 96.02 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2304, allocations: 4 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2304, allocations: 0 / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2304, allocations: 0 / 0.7858 GB, free: 11.57 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.0008583/0.2313, allocations: 459 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2313, allocations: 8.031 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.2314, allocations: 8.844 kB / 0.7862 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.2315, allocations: 184.1 kB / 0.7864 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.2315, allocations: 4.375 kB / 0.7864 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.2316, allocations: 8.375 kB / 0.7864 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.2318, allocations: 105 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2318, allocations: 4.188 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2318, allocations: 11.88 kB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2319, allocations: 0 / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.232, allocations: 67.95 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.2328, allocations: 400.5 kB / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.2329, allocations: 62.55 kB / 0.787 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.233, allocations: 36.97 kB / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.2331, allocations: 0 / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2331, allocations: 30.56 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2331, allocations: 0 / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003651/0.2335, allocations: 121.4 kB / 0.7872 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2335, allocations: 51.41 kB / 0.7873 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2337, allocations: 161.5 kB / 0.7874 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.2337, allocations: 29.7 kB / 0.7875 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.2338, allocations: 96.05 kB / 0.7875 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2338, allocations: 15.89 kB / 0.7876 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.2338, allocations: 17.72 kB / 0.7876 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.234, allocations: 322.8 kB / 0.7879 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/0.2341, allocations: 27.98 kB / 0.7879 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.2342, allocations: 35.97 kB / 0.7879 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2343, allocations: 52.77 kB / 0.788 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2343, allocations: 256 / 0.788 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002127/0.2345, allocations: 97.56 kB / 0.7881 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2346, allocations: 4 kB / 0.7881 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2346, allocations: 4 kB / 0.7881 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2346, allocations: 0 / 0.7881 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/0.2347, allocations: 11.98 kB / 0.7881 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2347, allocations: 7.938 kB / 0.7881 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.2349, allocations: 27.95 kB / 0.7881 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2349, allocations: 4 kB / 0.7881 GB, free: 8.914 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.24e-05/0.235, allocations: 118.5 kB / 0.7883 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.235, allocations: 15.84 kB / 0.7883 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.2351, allocations: 16.3 kB / 0.7883 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2351, allocations: 0 / 0.7883 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2351, allocations: 7.875 kB / 0.7883 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2351, allocations: 0 / 0.7883 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.2353, allocations: 201.6 kB / 0.7885 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2353, allocations: 0 / 0.7885 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.737e-05/0.2354, allocations: 11.97 kB / 0.7885 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2354, allocations: 4 kB / 0.7885 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2354, allocations: 0 / 0.7885 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2354, allocations: 0 / 0.7885 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2354, allocations: 7.938 kB / 0.7885 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.2357, allocations: 187.4 kB / 0.7887 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.2358, allocations: 81.02 kB / 0.7888 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.2358, allocations: 4 kB / 0.7888 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.236, allocations: 27.97 kB / 0.7888 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.2361, allocations: 15.86 kB / 0.7888 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2361, allocations: 11.98 kB / 0.7888 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.289e-05/0.2362, allocations: 109.5 kB / 0.7889 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2362, allocations: 0 / 0.7889 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002302/0.2364, allocations: 19.91 kB / 0.789 GB, free: 7.992 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.0001127/0.2365, allocations: 111.5 kB / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.2367, allocations: 59.97 kB / 0.7891 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2368, allocations: 0 / 0.7891 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.2369, allocations: 43.98 kB / 0.7892 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2372, allocations: 7.984 kB / 0.7892 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.2377, allocations: 261.3 kB / 0.7894 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.2379, allocations: 0.6963 MB / 0.7901 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.238, allocations: 23.42 kB / 0.7901 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.238, allocations: 0 / 0.7901 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of Templates: time 0.002683/0.2407, allocations: 1.285 MB / 0.7914 GB, free: 5.461 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)