Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.677/2.677, allocations: 287.5 MB / 303.2 MB, free: 8.301 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.00131/0.00131, allocations: 185 kB / 371.8 MB, free: 10.83 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.994/1.994, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009475/0.0009476, allocations: 95.52 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004931, allocations: 16.89 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2222, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9204/1.143, allocations: 138.5 MB / 1.115 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/1.143, allocations: 72.75 kB / 1.115 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01847/1.162, allocations: 4.001 MB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.138e-06/1.162, allocations: 0 / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.471e-05/1.162, allocations: 7.812 kB / 1.119 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001245/1.163, allocations: 0.5406 MB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.163, allocations: 7.719 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/1.163, allocations: 31.27 kB / 1.119 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.163, allocations: 179.8 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/1.163, allocations: 28.17 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/1.163, allocations: 40.92 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/1.164, allocations: 258.7 kB / 1.12 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.164, allocations: 7.531 kB / 1.12 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/1.164, allocations: 13.97 kB / 1.12 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.164, allocations: 0 / 1.12 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/1.165, allocations: 127.5 kB / 1.12 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/1.166, allocations: 0.5821 MB / 1.12 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007541/1.166, allocations: 423.4 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/1.167, allocations: 209.3 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/1.167, allocations: 3.688 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008124/1.168, allocations: 380.5 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 2.875e-06/1.168, allocations: 3.938 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=46): time 0.001596/1.169, allocations: 0.6796 MB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/1.169, allocations: 74.16 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/1.17, allocations: 140.3 kB / 1.122 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.695e-05/1.17, allocations: 50.08 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/1.17, allocations: 102.4 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/1.17, allocations: 105 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/1.17, allocations: 17.53 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.17, allocations: 330.7 kB / 1.123 GB, free: 29.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/1.171, allocations: 147 kB / 1.123 GB, free: 29.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/1.171, allocations: 302.6 kB / 1.123 GB, free: 29.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007666/1.172, allocations: 460.4 kB / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.172, allocations: 0 / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001307/1.173, allocations: 0.5658 MB / 1.124 GB, free: 28.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.737e-05/1.173, allocations: 69.17 kB / 1.124 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.173, allocations: 7.812 kB / 1.124 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/1.173, allocations: 7.719 kB / 1.124 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/1.174, allocations: 48.23 kB / 1.124 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/1.174, allocations: 7.719 kB / 1.124 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007923/1.175, allocations: 115.5 kB / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/1.175, allocations: 26.59 kB / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0003129/1.175, allocations: 181.3 kB / 1.125 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/1.175, allocations: 33.41 kB / 1.125 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793e-05/1.175, allocations: 25.19 kB / 1.125 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.175, allocations: 6.812 kB / 1.125 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.175, allocations: 4 kB / 1.125 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.175, allocations: 0 / 1.125 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/1.177, allocations: 1.06 MB / 1.126 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.177, allocations: 0 / 1.126 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/1.177, allocations: 18.34 kB / 1.126 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.177, allocations: 3.75 kB / 1.126 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/1.178, allocations: 28 kB / 1.126 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.178, allocations: 6.578 kB / 1.126 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.178, allocations: 0 / 1.126 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/1.179, allocations: 0.6511 MB / 1.126 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/1.179, allocations: 94.89 kB / 1.126 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/1.179, allocations: 32.22 kB / 1.126 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/1.179, allocations: 36.12 kB / 1.126 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.179, allocations: 44.08 kB / 1.127 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/1.179, allocations: 36.48 kB / 1.127 GB, free: 27.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.99e-05/1.18, allocations: 99.81 kB / 1.127 GB, free: 27.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.18, allocations: 0 / 1.127 GB, free: 27.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007214/1.18, allocations: 108.1 kB / 1.127 GB, free: 27.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002984/1.181, allocations: 156.5 kB / 1.127 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001281/1.182, allocations: 0.5521 MB / 1.127 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.182, allocations: 0 / 1.127 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005418/1.182, allocations: 306.4 kB / 1.128 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/1.183, allocations: 42.22 kB / 1.128 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/1.184, allocations: 0.5076 MB / 1.128 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/1.185, allocations: 0.7385 MB / 1.129 GB, free: 26.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001573/1.185, allocations: 30.86 kB / 1.129 GB, free: 26.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/1.185, allocations: 29.59 kB / 1.129 GB, free: 26.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/1.185, allocations: 0 / 1.129 GB, free: 26.6 MB / 0.698 GB Notification: Performance of Templates: time 0.0116/1.197, allocations: 3.86 MB / 1.133 GB, free: 26.31 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)