Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001251/0.001251, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 189 kB / 16.64 MB, free: 6.594 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.542/1.542, allocations: 205.1 MB / 222.5 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6176/0.6176, allocations: 95.49 MB / 365.3 MB, free: 9.812 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 71.89 kB / 446.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3696, allocations: 69.08 MB / 0.5031 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003044/0.3727, allocations: 1.455 MB / 0.5045 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007936/0.3736, allocations: 495.5 kB / 0.505 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.3736, allocations: 0 / 0.505 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.3737, allocations: 3.938 kB / 0.505 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.3738, allocations: 7.922 kB / 0.505 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.374, allocations: 23.91 kB / 0.505 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.3741, allocations: 51.84 kB / 0.5051 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.3742, allocations: 16 kB / 0.5051 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.3743, allocations: 19.92 kB / 0.5051 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.3744, allocations: 19.86 kB / 0.5051 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.3744, allocations: 4 kB / 0.5051 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.3744, allocations: 4 kB / 0.5052 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.3745, allocations: 23.91 kB / 0.5052 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.3745, allocations: 19.91 kB / 0.5052 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.3747, allocations: 47.83 kB / 0.5052 GB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3747, allocations: 0 / 0.5052 GB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3747, allocations: 0 / 0.5052 GB, free: 15.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3747, allocations: 4 kB / 0.5052 GB, free: 15.13 MB / 382.1 MB 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.0005186/0.3752, allocations: 368.9 kB / 0.5056 GB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3753, allocations: 11.98 kB / 0.5056 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.3753, allocations: 4.938 kB / 0.5056 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.3755, allocations: 160.4 kB / 0.5058 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.3755, allocations: 4.375 kB / 0.5058 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.3755, allocations: 12.36 kB / 0.5058 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3757, allocations: 58 kB / 0.5058 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3757, allocations: 7.938 kB / 0.5058 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3757, allocations: 0 / 0.5058 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3757, allocations: 0 / 0.5058 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.3758, allocations: 27.98 kB / 0.5059 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.3763, allocations: 296.6 kB / 0.5062 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3765, allocations: 58.59 kB / 0.5062 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.3765, allocations: 32.94 kB / 0.5062 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.3765, allocations: 0 / 0.5062 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.3767, allocations: 67.39 kB / 0.5063 GB, free: 13.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.3767, allocations: 0 / 0.5063 GB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002669/0.377, allocations: 105.5 kB / 0.5064 GB, free: 13.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.3771, allocations: 59.34 kB / 0.5065 GB, free: 13.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/0.3771, allocations: 101.8 kB / 0.5066 GB, free: 13.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.3771, allocations: 37.7 kB / 0.5066 GB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.3772, allocations: 88.03 kB / 0.5067 GB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.3772, allocations: 15.81 kB / 0.5067 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.3773, allocations: 29.7 kB / 0.5067 GB, free: 13.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.3773, allocations: 318.8 kB / 0.507 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.3774, allocations: 23.92 kB / 0.5071 GB, free: 13.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.3775, allocations: 47.42 kB / 0.5071 GB, free: 13.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.3776, allocations: 67.38 kB / 0.5072 GB, free: 12.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3776, allocations: 0 / 0.5072 GB, free: 12.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001609/0.3778, allocations: 97.73 kB / 0.5073 GB, free: 12.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3778, allocations: 8 kB / 0.5073 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3778, allocations: 0 / 0.5073 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3778, allocations: 0 / 0.5073 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.3779, allocations: 11.94 kB / 0.5073 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3779, allocations: 12.02 kB / 0.5073 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.878e-05/0.378, allocations: 11.94 kB / 0.5073 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.577e-06/0.378, allocations: 4 kB / 0.5073 GB, free: 12.79 MB / 382.1 MB 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 8.726e-05/0.3781, allocations: 117.8 kB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.3782, allocations: 7.906 kB / 0.5074 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.3782, allocations: 11.95 kB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3782, allocations: 0 / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3782, allocations: 0 / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3782, allocations: 4 kB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.3786, allocations: 362.4 kB / 0.5078 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3786, allocations: 0 / 0.5078 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.3787, allocations: 4 kB / 0.5078 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3787, allocations: 0 / 0.5078 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3787, allocations: 4 kB / 0.5078 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3787, allocations: 7.922 kB / 0.5078 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3787, allocations: 480 / 0.5078 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.3789, allocations: 183.3 kB / 0.508 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.3789, allocations: 81.11 kB / 0.508 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.379, allocations: 7.984 kB / 0.5081 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3791, allocations: 7.938 kB / 0.5081 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.3792, allocations: 7.984 kB / 0.5081 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3792, allocations: 4 kB / 0.5081 GB, free: 11.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3e-05/0.3792, allocations: 87.2 kB / 0.5082 GB, free: 11.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3792, allocations: 0 / 0.5082 GB, free: 11.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.3796, allocations: 23.91 kB / 0.5082 GB, free: 11.78 MB / 382.1 MB 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 8.584e-05/0.3797, allocations: 99.19 kB / 0.5083 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.3799, allocations: 59.92 kB / 0.5083 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3799, allocations: 0 / 0.5083 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.452e-05/0.38, allocations: 27.98 kB / 0.5084 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.3804, allocations: 10.34 kB / 0.5084 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.3808, allocations: 169.4 kB / 0.5085 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.3809, allocations: 0.6852 MB / 0.5092 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.349e-05/0.381, allocations: 11.94 kB / 0.5092 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.381, allocations: 11.44 kB / 0.5092 GB, free: 10.65 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.381, allocations: 0 / 0.5092 GB, free: 10.65 MB / 382.1 MB Notification: Performance of Templates: time 0.003662/0.3847, allocations: 0.7811 MB / 0.51 GB, free: 9.875 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)