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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.702/1.702, allocations: 292.6 MB / 307.6 MB, free: 5.227 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.001219/0.001219, allocations: 188.2 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 0.6367 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008285/0.0008283, allocations: 81.59 kB / 0.751 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 12 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7643/1.045, allocations: 138.8 MB / 1.124 GB, free: 35.81 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/1.045, allocations: 71.2 kB / 1.124 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002527/1.048, allocations: 0.9476 MB / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.583e-06/1.048, allocations: 0 / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.177e-06/1.048, allocations: 4 kB / 1.125 GB, free: 35.02 MB / 0.7292 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.0004813/1.049, allocations: 374.2 kB / 1.125 GB, free: 34.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.049, allocations: 12.03 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/1.049, allocations: 2.062 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.049, allocations: 175.5 kB / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.049, allocations: 0 / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/1.049, allocations: 8.531 kB / 1.125 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/1.049, allocations: 68.94 kB / 1.125 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.049, allocations: 4 kB / 1.125 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/1.049, allocations: 4.625 kB / 1.126 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.049, allocations: 1.734 kB / 1.126 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/1.049, allocations: 56.14 kB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/1.05, allocations: 300.4 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/1.05, allocations: 61.17 kB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/1.05, allocations: 0 / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/1.05, allocations: 34.56 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.665e-06/1.05, allocations: 0.9844 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003649/1.051, allocations: 114.4 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/1.051, allocations: 52.25 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.034e-05/1.051, allocations: 105 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/1.051, allocations: 33.27 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/1.051, allocations: 84.14 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/1.051, allocations: 11.91 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/1.051, allocations: 0.5625 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/1.051, allocations: 322.5 kB / 1.127 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/1.051, allocations: 23.42 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/1.051, allocations: 35 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.02e-05/1.051, allocations: 20.17 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.051, allocations: 0 / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001999/1.051, allocations: 92.05 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.051, allocations: 13.19 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.051, allocations: 0.5 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.051, allocations: 4 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/1.051, allocations: 11.47 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.051, allocations: 0.5469 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/1.052, allocations: 28.31 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/1.052, allocations: 7.328 kB / 1.127 GB, free: 32.96 MB / 0.7292 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 6.38e-05/1.052, allocations: 111.8 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/1.052, allocations: 4 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/1.052, allocations: 95.58 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.052, allocations: 0 / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.052, allocations: 4.875 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.052, allocations: 3.938 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/1.052, allocations: 177.1 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.052, allocations: 0 / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/1.052, allocations: 11.61 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.052, allocations: 0 / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/1.052, allocations: 1.562 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.052, allocations: 0 / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.052, allocations: 4 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/1.052, allocations: 177.3 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/1.053, allocations: 85.62 kB / 1.127 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/1.053, allocations: 4.688 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/1.053, allocations: 22.98 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/1.053, allocations: 7.609 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/1.053, allocations: 4 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.694e-05/1.053, allocations: 91.62 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.053, allocations: 0 / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002049/1.053, allocations: 12.84 kB / 1.128 GB, free: 32.12 MB / 0.7292 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.000127/1.053, allocations: 100 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002691/1.053, allocations: 57.83 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.053, allocations: 0.6562 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/1.054, allocations: 31.42 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/1.054, allocations: 12.03 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/1.054, allocations: 137 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/1.054, allocations: 0.6893 MB / 1.129 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.639e-05/1.054, allocations: 0 / 1.129 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/1.054, allocations: 14.77 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.054, allocations: 0 / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.002784/1.057, allocations: 0.6264 MB / 1.129 GB, free: 30.73 MB / 0.7292 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)