Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.755/2.755, allocations: 287.3 MB / 302.3 MB, free: 8.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 184.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.512/2.512, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 92.56 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005073/0.0005078, allocations: 17.91 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2182, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0009279/0.2192, allocations: 434.4 kB / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.2202, allocations: 0.8282 MB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.2203, allocations: 0 / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.2203, allocations: 3.938 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.2204, allocations: 7.984 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.2205, allocations: 11.98 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.6e-05/0.2206, allocations: 23.97 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2207, allocations: 8 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.152e-05/0.2208, allocations: 15.91 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.2209, allocations: 23.92 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2209, allocations: 0 / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.2209, allocations: 4 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.2209, allocations: 11.92 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.221, allocations: 25.7 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.677e-05/0.221, allocations: 27.94 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2211, allocations: 0 / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2211, allocations: 0 / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2211, allocations: 0 / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007483/0.2218, allocations: 387.5 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2219, allocations: 12.03 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.2219, allocations: 7.906 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.173e-05/0.222, allocations: 167 kB / 0.9801 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2221, allocations: 7.984 kB / 0.9801 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.2221, allocations: 7.984 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.2224, allocations: 69.61 kB / 0.9802 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2224, allocations: 0 / 0.9802 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2224, allocations: 0 / 0.9802 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2224, allocations: 4 kB / 0.9802 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.2227, allocations: 59.89 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.2234, allocations: 300.7 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.2238, allocations: 62.47 kB / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2238, allocations: 4 kB / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2238, allocations: 34.62 kB / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.2238, allocations: 0 / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005604/0.2244, allocations: 109.7 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2245, allocations: 59.34 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.2245, allocations: 113.8 kB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2246, allocations: 25.7 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.2246, allocations: 88.14 kB / 0.981 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.2247, allocations: 11.81 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.2247, allocations: 0 / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.2247, allocations: 322.8 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2249, allocations: 27.98 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.2251, allocations: 27.97 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.2252, allocations: 27.98 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2252, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003532/0.2256, allocations: 85.66 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2256, allocations: 10.12 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.2257, allocations: 0 / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.2257, allocations: 4 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2258, allocations: 15.98 kB / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2258, allocations: 0 / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.226, allocations: 27.88 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2261, allocations: 4 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/0.2261, allocations: 117.8 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.2262, allocations: 3.906 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.2266, allocations: 89.56 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2266, allocations: 3.984 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2266, allocations: 4 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2267, allocations: 3.938 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2268, allocations: 165.6 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2269, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.227, allocations: 15.98 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.227, allocations: 7.938 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.227, allocations: 0 / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.227, allocations: 0 / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.227, allocations: 0 / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.2274, allocations: 183.8 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.2275, allocations: 81.09 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.2275, allocations: 4.422 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.2277, allocations: 19.98 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.2278, allocations: 15.92 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.2278, allocations: 0 / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.027e-05/0.2279, allocations: 95.2 kB / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2279, allocations: 0 / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000305/0.2282, allocations: 8 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001286/0.2283, allocations: 103.2 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.2287, allocations: 55.95 kB / 0.9825 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2287, allocations: 0 / 0.9825 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.2289, allocations: 31.98 kB / 0.9825 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.2292, allocations: 11.94 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.2296, allocations: 133.6 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.2297, allocations: 0.6848 MB / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.062e-05/0.2298, allocations: 8 kB / 0.9834 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.2298, allocations: 7.438 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of SimCode: time 9.61e-07/0.2298, allocations: 0 / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of Templates: time 0.003536/0.2334, allocations: 0.631 MB / 0.984 GB, free: 22.06 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)