Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, 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.001368/0.001369, allocations: 193.8 kB / 16.13 MB, free: 6.656 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.506/1.506, 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.909/1.909, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001671/0.001671, allocations: 63.42 kB / 0.6708 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2533, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002269/0.2556, allocations: 0.7808 MB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2567, allocations: 0.8292 MB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.2568, allocations: 7.938 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.383e-05/0.2568, allocations: 0 / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.172e-05/0.2569, allocations: 3.938 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.2571, allocations: 19.98 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.239e-05/0.2572, allocations: 39.91 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.2574, allocations: 15.98 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.2575, allocations: 19.92 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.2575, allocations: 15.92 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.2576, allocations: 4 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.2576, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.2576, allocations: 15.92 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.2577, allocations: 15.88 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.2578, allocations: 39.84 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2578, allocations: 4 kB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2578, allocations: 3.938 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.2578, allocations: 0 / 0.7845 GB, free: 12.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000827/0.2587, allocations: 383.7 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2587, allocations: 8.031 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.2588, allocations: 8.844 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2589, allocations: 176.2 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2589, allocations: 4.312 kB / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.259, allocations: 4.375 kB / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.2592, allocations: 66.2 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2592, allocations: 192 / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.2592, allocations: 11.92 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2592, allocations: 0 / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.2594, allocations: 47.89 kB / 0.7851 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.2601, allocations: 300.8 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.2604, allocations: 54.55 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.957e-05/0.2605, allocations: 28.94 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.2605, allocations: 0 / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.2605, allocations: 34.56 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2606, allocations: 0 / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003935/0.261, allocations: 97.53 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.261, allocations: 51.41 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2611, allocations: 113.8 kB / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2611, allocations: 29.7 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.2612, allocations: 84.14 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.2612, allocations: 7.844 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.2613, allocations: 21.7 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2614, allocations: 318.8 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.2615, allocations: 27.97 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.2616, allocations: 19.98 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.2618, allocations: 40.83 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2618, allocations: 0 / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002104/0.262, allocations: 81.55 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.262, allocations: 10.41 kB / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2621, allocations: 0 / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.2621, allocations: 4 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.2622, allocations: 7.938 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2622, allocations: 7.922 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2623, allocations: 19.92 kB / 0.7864 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2623, allocations: 0 / 0.7864 GB, free: 9.934 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: 2 (onOffController.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/0.2624, allocations: 121.8 kB / 0.7865 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.2625, allocations: 0 / 0.7865 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.2628, allocations: 85.48 kB / 0.7866 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2628, allocations: 0 / 0.7866 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2629, allocations: 4 kB / 0.7866 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2629, allocations: 384 / 0.7866 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.2631, allocations: 173.5 kB / 0.7868 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2631, allocations: 0 / 0.7868 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.2631, allocations: 11.94 kB / 0.7868 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2631, allocations: 0 / 0.7868 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2632, allocations: 7.984 kB / 0.7868 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2632, allocations: 4 kB / 0.7868 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2632, allocations: 3.984 kB / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.2634, allocations: 163.5 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.2635, allocations: 89.02 kB / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.2635, allocations: 0 / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2637, allocations: 19.97 kB / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.2637, allocations: 7.984 kB / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2638, allocations: 0 / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.2638, allocations: 91.28 kB / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2638, allocations: 0 / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000215/0.264, allocations: 8 kB / 0.7872 GB, free: 9.051 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: 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 (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.0002152/0.2643, allocations: 107.2 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.2645, allocations: 47.95 kB / 0.7873 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2645, allocations: 0 / 0.7873 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.969e-05/0.2646, allocations: 23.98 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.2649, allocations: 7.938 kB / 0.7874 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.2653, allocations: 139.2 kB / 0.7875 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.2656, allocations: 0.6851 MB / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.733e-05/0.2656, allocations: 4 kB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.2656, allocations: 7.438 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2656, allocations: 7.938 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of Templates: time 0.003183/0.2688, allocations: 0.6662 MB / 0.7888 GB, free: 7.312 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)