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.617/2.617, allocations: 284.8 MB / 297.3 MB, free: 6.336 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.00144/0.00144, allocations: 184.8 kB / 365.7 MB, free: 2.543 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.07/2.07, allocations: 205.1 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001196, allocations: 94.3 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.46e-05, allocations: 4 kB / 0.8575 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.8627, allocations: 115.2 MB / 0.97 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.254/1.117, allocations: 138.2 MB / 1.105 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003986/1.117, allocations: 69.33 kB / 1.105 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01752/1.135, allocations: 2.587 MB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.234e-06/1.135, allocations: 5.625 kB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.979e-06/1.135, allocations: 0 / 1.108 GB, free: 11.54 MB / 0.7136 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.0008672/1.136, allocations: 395.5 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/1.136, allocations: 8.031 kB / 1.108 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/1.136, allocations: 11.14 kB / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/1.136, allocations: 174.9 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/1.136, allocations: 8 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/1.136, allocations: 8 kB / 1.108 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/1.137, allocations: 54.5 kB / 1.108 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/1.137, allocations: 0 / 1.108 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/1.137, allocations: 0 / 1.108 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/1.137, allocations: 8.734 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/1.137, allocations: 16.94 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/1.138, allocations: 331.4 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/1.138, allocations: 38.52 kB / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.596e-05/1.138, allocations: 16.86 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/1.138, allocations: 4.078 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/1.138, allocations: 75.38 kB / 1.109 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 4.208e-06/1.138, allocations: 0 / 1.109 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004336/1.139, allocations: 83.47 kB / 1.109 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/1.139, allocations: 59.3 kB / 1.109 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/1.139, allocations: 113 kB / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/1.139, allocations: 29.7 kB / 1.109 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/1.139, allocations: 100.3 kB / 1.109 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/1.139, allocations: 17.53 kB / 1.109 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/1.139, allocations: 4 kB / 1.109 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001936/1.14, allocations: 314.8 kB / 1.109 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/1.14, allocations: 39.98 kB / 1.109 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/1.14, allocations: 63.42 kB / 1.109 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/1.14, allocations: 63.81 kB / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.14, allocations: 0 / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006824/1.141, allocations: 171.2 kB / 1.11 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.56e-05/1.141, allocations: 33.7 kB / 1.11 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.141, allocations: 4 kB / 1.11 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.141, allocations: 0 / 1.11 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/1.142, allocations: 24.05 kB / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.142, allocations: 0 / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/1.142, allocations: 51.81 kB / 1.11 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/1.142, allocations: 4 kB / 1.11 GB, free: 9.027 MB / 0.7136 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 () * 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.0001505/1.142, allocations: 120.9 kB / 1.11 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/1.142, allocations: 0 / 1.11 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/1.143, allocations: 95.69 kB / 1.11 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/1.143, allocations: 0 / 1.11 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.143, allocations: 3.938 kB / 1.11 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.143, allocations: 0 / 1.11 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006141/1.143, allocations: 342.4 kB / 1.11 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.144, allocations: 4 kB / 1.11 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/1.144, allocations: 14.5 kB / 1.11 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/1.144, allocations: 4 kB / 1.11 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.144, allocations: 3.984 kB / 1.11 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.144, allocations: 0 / 1.11 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.144, allocations: 3.953 kB / 1.11 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/1.144, allocations: 177.6 kB / 1.111 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-05/1.144, allocations: 85.02 kB / 1.111 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/1.144, allocations: 11.94 kB / 1.111 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/1.145, allocations: 7.984 kB / 1.111 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/1.145, allocations: 6.906 kB / 1.111 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/1.145, allocations: 7.953 kB / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000102/1.145, allocations: 87.27 kB / 1.111 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.81e-07/1.145, allocations: 0 / 1.111 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007136/1.146, allocations: 31.94 kB / 1.111 GB, free: 7.941 MB / 0.7136 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) * 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.0002755/1.146, allocations: 111.2 kB / 1.111 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005299/1.146, allocations: 143.3 kB / 1.111 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.146, allocations: 0 / 1.111 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/1.147, allocations: 24 kB / 1.111 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/1.147, allocations: 11.98 kB / 1.111 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/1.148, allocations: 100.9 kB / 1.111 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/1.148, allocations: 0.6947 MB / 1.112 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.078e-05/1.148, allocations: 5.422 kB / 1.112 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/1.148, allocations: 11.44 kB / 1.112 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of SimCode: time 1.363e-06/1.148, allocations: 0 / 1.112 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of Templates: time 0.007886/1.156, allocations: 1.218 MB / 1.113 GB, free: 5.617 MB / 0.7136 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)