Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009004/0.0009005, allocations: 179.4 kB / 327.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 0.5785 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008977/0.0008975, allocations: 103.8 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004922, allocations: 13.84 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2009, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.3603, allocations: 131.7 MB / 1.03 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.3606, allocations: 75.95 kB / 1.03 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002839/0.3634, allocations: 0.9514 MB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.549e-06/0.3635, allocations: 0 / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3635, allocations: 3.938 kB / 1.031 GB, free: 10.77 MB / 0.6823 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.0005218/0.364, allocations: 379.4 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.3641, allocations: 12.03 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3641, allocations: 8.781 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3642, allocations: 180.2 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3643, allocations: 4.375 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3643, allocations: 4.375 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.3645, allocations: 70.17 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3645, allocations: 4.188 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3645, allocations: 3.938 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3645, allocations: 4 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3647, allocations: 51.95 kB / 1.032 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.3653, allocations: 304.7 kB / 1.032 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.3655, allocations: 58.56 kB / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3657, allocations: 32.98 kB / 1.032 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3657, allocations: 3.984 kB / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3657, allocations: 34.5 kB / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.3657, allocations: 0 / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.00036/0.3661, allocations: 113.5 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3661, allocations: 51.41 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.3662, allocations: 113.8 kB / 1.032 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3663, allocations: 33.69 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.3663, allocations: 88.14 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.3663, allocations: 7.844 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.3663, allocations: 0 / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3665, allocations: 326.8 kB / 1.033 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.912e-05/0.3666, allocations: 23.98 kB / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.972e-05/0.3667, allocations: 31.92 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.3668, allocations: 48.81 kB / 1.033 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3668, allocations: 4 kB / 1.033 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002051/0.367, allocations: 89.56 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3671, allocations: 4 kB / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3671, allocations: 0 / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3671, allocations: 4 kB / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.3672, allocations: 19.92 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3672, allocations: 0 / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3673, allocations: 19.98 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3673, allocations: 4 kB / 1.033 GB, free: 8.453 MB / 0.6823 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 8.6e-05/0.3674, allocations: 117.7 kB / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3675, allocations: 4.375 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.3677, allocations: 89.56 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3677, allocations: 7.984 kB / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3677, allocations: 0 / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3677, allocations: 3.938 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.3679, allocations: 173.7 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3679, allocations: 4 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.368, allocations: 11.98 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.368, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.368, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.368, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.368, allocations: 3.938 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.3683, allocations: 187.4 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.3683, allocations: 81.52 kB / 1.034 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3684, allocations: 0 / 1.034 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3685, allocations: 23.98 kB / 1.034 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.3686, allocations: 7.984 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.3686, allocations: 8 kB / 1.034 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.3686, allocations: 87.27 kB / 1.034 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3687, allocations: 4 kB / 1.034 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002019/0.3689, allocations: 4 kB / 1.034 GB, free: 7.547 MB / 0.6823 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.0001253/0.369, allocations: 103.2 kB / 1.034 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3692, allocations: 63.89 kB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3692, allocations: 0 / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/0.3693, allocations: 27.98 kB / 1.034 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.3696, allocations: 18.33 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.37, allocations: 136.5 kB / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3702, allocations: 0.6809 MB / 1.035 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.3703, allocations: 0 / 1.035 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.3703, allocations: 15.44 kB / 1.035 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3703, allocations: 0 / 1.035 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of Templates: time 0.00259/0.3729, allocations: 0.6436 MB / 1.035 GB, free: 5.812 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)