Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, 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.001129/0.001129, allocations: 191.5 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.281/1.281, allocations: 205.1 MB / 222 MB, free: 4.742 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.647/1.647, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001437/0.001437, allocations: 63.3 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2166, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002592/0.2192, allocations: 0.8837 MB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.2209, allocations: 1.164 MB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.221, allocations: 4 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.2211, allocations: 7.922 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.964e-05/0.2212, allocations: 3.938 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.2217, allocations: 127.6 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.2218, allocations: 135.7 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.222, allocations: 23.98 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2221, allocations: 51.89 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.2222, allocations: 51.81 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.2222, allocations: 8 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.34e-05/0.2223, allocations: 16 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.2223, allocations: 15.92 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.2224, allocations: 51.77 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.2226, allocations: 143.8 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2226, allocations: 0 / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2226, allocations: 4 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2226, allocations: 0 / 0.7853 GB, free: 11.33 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00076/0.2234, allocations: 429 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2234, allocations: 8.031 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.2235, allocations: 12.84 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2237, allocations: 180.2 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.2237, allocations: 8.375 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.2237, allocations: 8.375 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.224, allocations: 86.2 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.224, allocations: 192 / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.224, allocations: 3.938 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2241, allocations: 4 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.2243, allocations: 63.89 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.2248, allocations: 388.5 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.225, allocations: 58.48 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.89e-05/0.2251, allocations: 28.94 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2252, allocations: 7.922 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002762/0.2254, allocations: 91.2 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.2255, allocations: 4 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.00043/0.2259, allocations: 121.6 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.2259, allocations: 59.41 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2261, allocations: 129.7 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.2261, allocations: 25.7 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.2262, allocations: 100 kB / 0.787 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.2262, allocations: 19.8 kB / 0.787 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.2263, allocations: 37.69 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.2264, allocations: 322.8 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.2265, allocations: 47.97 kB / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.2267, allocations: 79.39 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.227, allocations: 120.2 kB / 0.7876 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.227, allocations: 0 / 0.7876 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000404/0.2274, allocations: 187.2 kB / 0.7878 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.2274, allocations: 33.7 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2274, allocations: 4.062 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2275, allocations: 4 kB / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.423e-05/0.2276, allocations: 7.984 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2276, allocations: 4 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.2278, allocations: 47.73 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.2279, allocations: 11.98 kB / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.049e-05/0.228, allocations: 128.8 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.228, allocations: 3.906 kB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.228, allocations: 12.38 kB / 0.788 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.228, allocations: 0 / 0.788 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.228, allocations: 0 / 0.788 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.228, allocations: 3.938 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.2282, allocations: 189.6 kB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2282, allocations: 0 / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.2282, allocations: 7.984 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2283, allocations: 7.938 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2283, allocations: 4.312 kB / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2283, allocations: 0 / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2283, allocations: 4 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.2286, allocations: 125 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.2286, allocations: 85.11 kB / 0.7885 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.2286, allocations: 3.938 kB / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.2287, allocations: 19.98 kB / 0.7885 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.2288, allocations: 15.91 kB / 0.7885 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2288, allocations: 0 / 0.7885 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.85e-05/0.2289, allocations: 95.27 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2289, allocations: 0 / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000253/0.2291, allocations: 27.91 kB / 0.7886 GB, free: 7.555 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001987/0.2293, allocations: 99.25 kB / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.2298, allocations: 175.3 kB / 0.7889 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2298, allocations: 0 / 0.7889 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.2299, allocations: 35.97 kB / 0.7889 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.2302, allocations: 15.98 kB / 0.7889 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.2306, allocations: 204.8 kB / 0.7891 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.2309, allocations: 0.6965 MB / 0.7898 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.441e-05/0.231, allocations: 4 kB / 0.7898 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.231, allocations: 15.44 kB / 0.7898 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.231, allocations: 0 / 0.7898 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of Templates: time 0.004183/0.2352, allocations: 1.47 MB / 0.7913 GB, free: 4.793 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)