Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 192.4 kB / 16.25 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 222.1 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.634/1.634, allocations: 251.6 MB / 0.5089 GB, free: 3.293 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001662, allocations: 76.3 kB / 0.6217 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6348/0.6364, allocations: 104.7 MB / 0.724 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00293/0.6394, allocations: 1.527 MB / 0.7255 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008064/0.6402, allocations: 499.3 kB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.6403, allocations: 0 / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.932e-05/0.6404, allocations: 0 / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.6405, allocations: 7.922 kB / 0.726 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.6406, allocations: 16 kB / 0.726 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.6408, allocations: 55.83 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.6409, allocations: 16 kB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.984e-05/0.641, allocations: 19.92 kB / 0.7261 GB, free: 11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.641, allocations: 23.91 kB / 0.7261 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.6411, allocations: 4 kB / 0.7261 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.6411, allocations: 4 kB / 0.7261 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.6411, allocations: 11.94 kB / 0.7261 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.6412, allocations: 31.89 kB / 0.7261 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.6413, allocations: 41.8 kB / 0.7262 GB, free: 10.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6413, allocations: 0 / 0.7262 GB, free: 10.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6413, allocations: 0 / 0.7262 GB, free: 10.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.6413, allocations: 4 kB / 0.7262 GB, free: 10.88 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006229/0.6419, allocations: 363.2 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.642, allocations: 8.031 kB / 0.7265 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.6421, allocations: 4.938 kB / 0.7265 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.6422, allocations: 176.3 kB / 0.7267 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.6423, allocations: 4.375 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.6423, allocations: 4.375 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.6424, allocations: 65.92 kB / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6424, allocations: 3.938 kB / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6424, allocations: 4 kB / 0.7268 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6424, allocations: 0 / 0.7268 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.6425, allocations: 23.98 kB / 0.7268 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.643, allocations: 300.8 kB / 0.7271 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.6432, allocations: 62.66 kB / 0.7271 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.6432, allocations: 24.88 kB / 0.7272 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.525e-06/0.6432, allocations: 0 / 0.7272 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.6434, allocations: 79.34 kB / 0.7272 GB, free: 9.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.6434, allocations: 4 kB / 0.7273 GB, free: 9.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002236/0.6436, allocations: 97.53 kB / 0.7273 GB, free: 9.512 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.6437, allocations: 63.33 kB / 0.7274 GB, free: 9.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.6437, allocations: 101.9 kB / 0.7275 GB, free: 9.328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.6438, allocations: 29.7 kB / 0.7275 GB, free: 9.293 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.6438, allocations: 92.03 kB / 0.7276 GB, free: 9.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.6438, allocations: 15.81 kB / 0.7276 GB, free: 9.184 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.6439, allocations: 29.7 kB / 0.7277 GB, free: 9.148 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.644, allocations: 326.7 kB / 0.728 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.644, allocations: 15.98 kB / 0.728 GB, free: 8.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.265e-05/0.6441, allocations: 43.42 kB / 0.728 GB, free: 8.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.103e-05/0.6442, allocations: 63.38 kB / 0.7281 GB, free: 8.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6442, allocations: 0 / 0.7281 GB, free: 8.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001367/0.6443, allocations: 105.7 kB / 0.7282 GB, free: 8.566 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6444, allocations: 8.375 kB / 0.7282 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6444, allocations: 0 / 0.7282 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6444, allocations: 4 kB / 0.7282 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.6445, allocations: 15.92 kB / 0.7282 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6445, allocations: 3.938 kB / 0.7282 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.004e-05/0.6446, allocations: 7.938 kB / 0.7282 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.6446, allocations: 4 kB / 0.7282 GB, free: 8.523 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.141e-05/0.6447, allocations: 125.8 kB / 0.7284 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.6447, allocations: 11.89 kB / 0.7284 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.6447, allocations: 7.969 kB / 0.7284 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.6447, allocations: 0 / 0.7284 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6447, allocations: 0 / 0.7284 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6448, allocations: 0 / 0.7284 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.6451, allocations: 362.4 kB / 0.7287 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.6452, allocations: 0 / 0.7287 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.6452, allocations: 8 kB / 0.7287 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.6452, allocations: 64 / 0.7287 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.6452, allocations: 7.984 kB / 0.7287 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.6452, allocations: 3.938 kB / 0.7287 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6452, allocations: 0 / 0.7287 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.6454, allocations: 179.4 kB / 0.7289 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.6455, allocations: 85.09 kB / 0.729 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.6455, allocations: 0 / 0.729 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.6456, allocations: 15.94 kB / 0.729 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.6456, allocations: 11.92 kB / 0.729 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.6456, allocations: 4 kB / 0.729 GB, free: 7.617 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.6457, allocations: 87.27 kB / 0.7291 GB, free: 7.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6457, allocations: 0 / 0.7291 GB, free: 7.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000221/0.6459, allocations: 11.91 kB / 0.7291 GB, free: 7.52 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001132/0.646, allocations: 99.25 kB / 0.7292 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.6462, allocations: 64.05 kB / 0.7293 GB, free: 7.352 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6462, allocations: 8 kB / 0.7293 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.287e-05/0.6463, allocations: 23.98 kB / 0.7293 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.6465, allocations: 11.98 kB / 0.7293 GB, free: 7.309 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.647, allocations: 173.3 kB / 0.7295 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.6473, allocations: 0.6846 MB / 0.7301 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.6473, allocations: 7.984 kB / 0.7302 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.6473, allocations: 15.44 kB / 0.7302 GB, free: 6.379 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.6473, allocations: 0 / 0.7302 GB, free: 6.379 MB / 0.545 GB Notification: Performance of Templates: time 0.003136/0.6505, allocations: 0.7228 MB / 0.7309 GB, free: 5.664 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)