Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.978/2.978, allocations: 287.5 MB / 302.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 175.9 kB / 371 MB, free: 10.78 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.001139, allocations: 97.34 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005141, allocations: 11.78 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2293, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.299, allocations: 138.3 MB / 1.113 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/1.299, allocations: 74.03 kB / 1.114 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01861/1.318, allocations: 2.591 MB / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.266e-06/1.318, allocations: 0 / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.318, allocations: 0 / 1.116 GB, free: 31.27 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.0008329/1.319, allocations: 405.6 kB / 1.116 GB, free: 30.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.319, allocations: 7.688 kB / 1.116 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.472e-05/1.319, allocations: 7.75 kB / 1.116 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/1.319, allocations: 173.6 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/1.319, allocations: 10.94 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/1.319, allocations: 11.66 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/1.32, allocations: 66.25 kB / 1.117 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/1.32, allocations: 2.953 kB / 1.117 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/1.32, allocations: 6.375 kB / 1.117 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.32, allocations: 0 / 1.117 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/1.32, allocations: 57.03 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/1.321, allocations: 318.3 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/1.322, allocations: 59.38 kB / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/1.322, allocations: 3.938 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/1.322, allocations: 94.73 kB / 1.117 GB, free: 30.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.537e-06/1.322, allocations: 4 kB / 1.117 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0009811/1.323, allocations: 145 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.323, allocations: 62.09 kB / 1.117 GB, free: 30.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/1.323, allocations: 107.5 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/1.323, allocations: 33.14 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/1.324, allocations: 95 kB / 1.118 GB, free: 29.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/1.324, allocations: 11.66 kB / 1.118 GB, free: 29.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/1.324, allocations: 11.59 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.324, allocations: 313.5 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/1.324, allocations: 59.77 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/1.325, allocations: 75.25 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/1.325, allocations: 87.55 kB / 1.118 GB, free: 29.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.325, allocations: 3.969 kB / 1.118 GB, free: 29.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0009941/1.326, allocations: 207.8 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/1.326, allocations: 35.17 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.326, allocations: 8 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.326, allocations: 0 / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/1.326, allocations: 18.11 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/1.326, allocations: 0.875 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/1.327, allocations: 52.22 kB / 1.119 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/1.327, allocations: 7.719 kB / 1.119 GB, free: 29.44 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.booPul.y,booPul.y,$PRE.triggeredMax.y,triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001862/1.327, allocations: 113.8 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/1.327, allocations: 15.66 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/1.328, allocations: 128.2 kB / 1.119 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.328, allocations: 0 / 1.119 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.328, allocations: 3.844 kB / 1.119 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.328, allocations: 0 / 1.119 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009124/1.329, allocations: 377.2 kB / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.329, allocations: 3.812 kB / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/1.329, allocations: 10.92 kB / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/1.329, allocations: 3.047 kB / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/1.329, allocations: 0 / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/1.329, allocations: 3.938 kB / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.329, allocations: 0 / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/1.33, allocations: 214.1 kB / 1.119 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/1.33, allocations: 84.86 kB / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/1.33, allocations: 3.938 kB / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/1.33, allocations: 14.62 kB / 1.119 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/1.33, allocations: 2.906 kB / 1.119 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/1.331, allocations: 7.844 kB / 1.119 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.447e-05/1.331, allocations: 97.05 kB / 1.12 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.331, allocations: 0 / 1.12 GB, free: 28.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006752/1.331, allocations: 26.84 kB / 1.12 GB, free: 28.63 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002406/1.332, allocations: 109.2 kB / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008142/1.332, allocations: 187.8 kB / 1.12 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.332, allocations: 0 / 1.12 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/1.333, allocations: 39.95 kB / 1.12 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/1.333, allocations: 12.91 kB / 1.12 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/1.334, allocations: 176.8 kB / 1.12 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/1.334, allocations: 0.6908 MB / 1.121 GB, free: 27.63 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.078e-05/1.334, allocations: 11.16 kB / 1.121 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/1.335, allocations: 11.25 kB / 1.121 GB, free: 27.62 MB / 0.698 GB Notification: Performance of SimCode: time 1.613e-06/1.335, allocations: 0 / 1.121 GB, free: 27.62 MB / 0.698 GB Notification: Performance of Templates: time 0.007075/1.342, allocations: 1.211 MB / 1.122 GB, free: 27.51 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)