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.532/2.532, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.001383/0.001382, allocations: 178.5 kB / 371.8 MB, free: 10.81 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.071/2.071, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0009533/0.0009529, allocations: 86.34 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.0006569, allocations: 12.34 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2289, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9751/1.204, allocations: 137.6 MB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/1.204, allocations: 70.25 kB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004368/1.209, allocations: 0.9527 MB / 1.115 GB, free: 31.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/1.209, allocations: 0 / 1.115 GB, free: 31.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.157e-06/1.209, allocations: 0 / 1.115 GB, free: 31.42 MB / 0.698 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.0006553/1.209, allocations: 374 kB / 1.115 GB, free: 31.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.209, allocations: 11.5 kB / 1.115 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/1.21, allocations: 0.9375 kB / 1.115 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/1.21, allocations: 174 kB / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/1.21, allocations: 384 / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/1.21, allocations: 8.219 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/1.21, allocations: 75.12 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.21, allocations: 192 / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.21, allocations: 7.875 kB / 1.115 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.21, allocations: 0 / 1.115 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/1.21, allocations: 58.75 kB / 1.115 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/1.211, allocations: 302.4 kB / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/1.211, allocations: 59.88 kB / 1.116 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/1.212, allocations: 29.22 kB / 1.116 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/1.212, allocations: 4 kB / 1.116 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/1.212, allocations: 32.11 kB / 1.116 GB, free: 30.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/1.212, allocations: 0 / 1.116 GB, free: 30.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005429/1.212, allocations: 111.6 kB / 1.116 GB, free: 30.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/1.212, allocations: 52.81 kB / 1.116 GB, free: 30.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/1.212, allocations: 113.1 kB / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/1.212, allocations: 33.45 kB / 1.116 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/1.212, allocations: 85.27 kB / 1.116 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/1.212, allocations: 13.08 kB / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/1.213, allocations: 0 / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.213, allocations: 324.1 kB / 1.116 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/1.213, allocations: 24.78 kB / 1.117 GB, free: 29.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/1.213, allocations: 28.53 kB / 1.117 GB, free: 29.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/1.213, allocations: 60.27 kB / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.213, allocations: 0 / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003677/1.214, allocations: 88.38 kB / 1.117 GB, free: 29.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.214, allocations: 10.06 kB / 1.117 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.214, allocations: 3.312 kB / 1.117 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.214, allocations: 0 / 1.117 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/1.214, allocations: 10.98 kB / 1.117 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.214, allocations: 3.984 kB / 1.117 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/1.214, allocations: 29.61 kB / 1.117 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/1.214, allocations: 0 / 1.117 GB, free: 29.75 MB / 0.698 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 9.604e-05/1.214, allocations: 119.6 kB / 1.117 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/1.214, allocations: 3.906 kB / 1.117 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/1.215, allocations: 101.9 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/1.215, allocations: 0 / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.215, allocations: 0 / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.215, allocations: 0 / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/1.215, allocations: 170.7 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.215, allocations: 0 / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/1.215, allocations: 10.58 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.215, allocations: 0 / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/1.215, allocations: 7.203 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.215, allocations: 0 / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.215, allocations: 4 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/1.215, allocations: 183.9 kB / 1.117 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/1.215, allocations: 84.73 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/1.216, allocations: 5.828 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/1.216, allocations: 16.34 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/1.216, allocations: 8.406 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/1.216, allocations: 3.969 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.143e-05/1.216, allocations: 90.17 kB / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.216, allocations: 0 / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003004/1.216, allocations: 15.5 kB / 1.118 GB, free: 29.07 MB / 0.698 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.000139/1.216, allocations: 99.94 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003505/1.217, allocations: 52.12 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.217, allocations: 4 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/1.217, allocations: 32.86 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/1.217, allocations: 8.906 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/1.218, allocations: 130.7 kB / 1.118 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/1.218, allocations: 0.6845 MB / 1.119 GB, free: 28.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.142e-05/1.218, allocations: 2.891 kB / 1.119 GB, free: 28.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/1.218, allocations: 10.03 kB / 1.119 GB, free: 28.14 MB / 0.698 GB Notification: Performance of SimCode: time 7.32e-07/1.218, allocations: 0 / 1.119 GB, free: 28.14 MB / 0.698 GB Notification: Performance of Templates: time 0.003291/1.221, allocations: 0.6367 MB / 1.119 GB, free: 28.09 MB / 0.698 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)