Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.919/1.919, allocations: 288.3 MB / 303.2 MB, free: 8.18 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.001413/0.001413, allocations: 174.1 kB / 371.8 MB, free: 10.29 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.717/1.717, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008632/0.0008634, allocations: 94.86 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003991, allocations: 12.19 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2534, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8335/1.087, allocations: 137.8 MB / 1.114 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.087, allocations: 68.97 kB / 1.114 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003274/1.091, allocations: 0.9444 MB / 1.115 GB, free: 32.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.424e-06/1.091, allocations: 0 / 1.115 GB, free: 32.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.775e-06/1.091, allocations: 3.812 kB / 1.115 GB, free: 32.16 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.0005383/1.091, allocations: 377.4 kB / 1.115 GB, free: 31.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.091, allocations: 10.66 kB / 1.115 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/1.091, allocations: 3.938 kB / 1.115 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/1.091, allocations: 174.8 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/1.091, allocations: 3.875 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/1.091, allocations: 3.688 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/1.092, allocations: 76 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.092, allocations: 3.938 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/1.092, allocations: 0 / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.092, allocations: 3.812 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/1.092, allocations: 52.39 kB / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/1.092, allocations: 311.4 kB / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/1.093, allocations: 57.11 kB / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/1.093, allocations: 0 / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/1.093, allocations: 30.56 kB / 1.116 GB, free: 31.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/1.093, allocations: 4 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.00036/1.093, allocations: 115.5 kB / 1.116 GB, free: 31.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/1.093, allocations: 51.41 kB / 1.116 GB, free: 31.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/1.093, allocations: 107.5 kB / 1.116 GB, free: 31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/1.093, allocations: 25.7 kB / 1.116 GB, free: 30.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/1.093, allocations: 90.22 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/1.093, allocations: 10.31 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/1.093, allocations: 0 / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.094, allocations: 324.6 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/1.094, allocations: 28.89 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/1.094, allocations: 24.61 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.784e-05/1.094, allocations: 24.05 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.094, allocations: 0 / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001991/1.094, allocations: 97.5 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.094, allocations: 3.906 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.094, allocations: 0 / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.094, allocations: 3.906 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/1.094, allocations: 10.62 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.094, allocations: 0 / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/1.094, allocations: 29.39 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/1.094, allocations: 0 / 1.117 GB, free: 30.52 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.178e-05/1.094, allocations: 118.1 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/1.094, allocations: 0 / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/1.095, allocations: 101.8 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.095, allocations: 384 / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.095, allocations: 0 / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.095, allocations: 3.094 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/1.095, allocations: 173.8 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.095, allocations: 3.938 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/1.095, allocations: 18.81 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.095, allocations: 0 / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.095, allocations: 0 / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.095, allocations: 1.641 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.095, allocations: 0 / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/1.095, allocations: 183.5 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/1.095, allocations: 84.64 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/1.095, allocations: 3.938 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/1.095, allocations: 20.97 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/1.095, allocations: 6.625 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/1.095, allocations: 7.188 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.35e-05/1.096, allocations: 86.72 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.096, allocations: 0 / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002011/1.096, allocations: 7.5 kB / 1.118 GB, free: 29.83 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.0001338/1.096, allocations: 101.9 kB / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002173/1.096, allocations: 65.81 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.096, allocations: 0 / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/1.096, allocations: 32.56 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/1.096, allocations: 12.72 kB / 1.118 GB, free: 29.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/1.097, allocations: 127.2 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/1.097, allocations: 0.6854 MB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.527e-05/1.097, allocations: 4.062 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/1.097, allocations: 7.438 kB / 1.119 GB, free: 28.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.097, allocations: 0 / 1.119 GB, free: 28.9 MB / 0.698 GB Notification: Performance of Templates: time 0.002827/1.1, allocations: 0.6322 MB / 1.119 GB, free: 28.84 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)