Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.0014/0.0014, allocations: 185 kB / 377.1 MB, free: 1.535 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.677/1.677, allocations: 205.4 MB / 0.6366 GB, free: 8.602 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009111/0.0009113, allocations: 89.56 kB / 0.7509 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3021, allocations: 116.3 MB / 0.9884 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8104/1.113, allocations: 139.6 MB / 1.125 GB, free: 35.22 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.113, allocations: 70.73 kB / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0108/1.124, allocations: 3.983 MB / 1.129 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.234e-06/1.124, allocations: 0.75 kB / 1.129 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.226e-06/1.124, allocations: 4 kB / 1.129 GB, free: 32.4 MB / 0.7292 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.0007272/1.124, allocations: 0.5425 MB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.125, allocations: 16.02 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.081e-05/1.125, allocations: 58.55 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/1.125, allocations: 38.91 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/1.125, allocations: 178.4 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/1.125, allocations: 24.3 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/1.125, allocations: 44.03 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/1.125, allocations: 255.7 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.125, allocations: 0.625 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/1.125, allocations: 10.8 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.125, allocations: 4 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/1.126, allocations: 125.8 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007848/1.126, allocations: 0.5907 MB / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/1.127, allocations: 420.7 kB / 1.131 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/1.127, allocations: 6.188 kB / 1.131 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/1.127, allocations: 375.1 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=46): time 1.733e-06/1.127, allocations: 1.031 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46): time 0.0009751/1.128, allocations: 0.6727 MB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/1.128, allocations: 82.5 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/1.129, allocations: 129.5 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/1.129, allocations: 53.17 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/1.129, allocations: 96.66 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.132e-05/1.129, allocations: 105.7 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/1.129, allocations: 12 kB / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/1.129, allocations: 337.4 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/1.129, allocations: 147 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/1.129, allocations: 296.6 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/1.13, allocations: 218 kB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.13, allocations: 0 / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007735/1.131, allocations: 0.5746 MB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/1.131, allocations: 71.58 kB / 1.134 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.131, allocations: 5.125 kB / 1.134 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.131, allocations: 8 kB / 1.134 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/1.131, allocations: 45.08 kB / 1.134 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/1.131, allocations: 13.2 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/1.131, allocations: 113.3 kB / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/1.131, allocations: 31.66 kB / 1.134 GB, free: 27.12 MB / 0.7292 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.0001758/1.132, allocations: 181.1 kB / 1.134 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/1.132, allocations: 26.34 kB / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/1.132, allocations: 23.48 kB / 1.134 GB, free: 26.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.132, allocations: 4 kB / 1.134 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.132, allocations: 7.953 kB / 1.134 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.132, allocations: 6.344 kB / 1.134 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/1.133, allocations: 1.062 MB / 1.135 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.133, allocations: 0 / 1.135 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/1.133, allocations: 18.52 kB / 1.136 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.133, allocations: 5.781 kB / 1.136 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/1.133, allocations: 23.66 kB / 1.136 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.133, allocations: 0.6562 kB / 1.136 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.133, allocations: 0 / 1.136 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/1.134, allocations: 0.6688 MB / 1.136 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/1.134, allocations: 102.4 kB / 1.136 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/1.134, allocations: 30.41 kB / 1.136 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/1.134, allocations: 34.83 kB / 1.136 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.134, allocations: 39.92 kB / 1.136 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/1.135, allocations: 35.22 kB / 1.136 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.964e-05/1.135, allocations: 107.3 kB / 1.137 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.135, allocations: 4 kB / 1.137 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004163/1.135, allocations: 110.5 kB / 1.137 GB, free: 24.84 MB / 0.7292 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.001087/1.136, allocations: 1.399 MB / 1.138 GB, free: 23.47 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007484/1.137, allocations: 0.5512 MB / 1.139 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.137, allocations: 1.125 kB / 1.139 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/1.137, allocations: 306.6 kB / 1.139 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/1.138, allocations: 34.03 kB / 1.139 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/1.139, allocations: 3.716 MB / 1.142 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/1.139, allocations: 0.7408 MB / 1.143 GB, free: 18.13 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.698e-05/1.14, allocations: 32.33 kB / 1.143 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/1.14, allocations: 62 kB / 1.143 GB, free: 18.06 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.14, allocations: 0 / 1.143 GB, free: 18.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/1.16, allocations: 5.513 MB / 1.149 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/1.16, allocations: 200 kB / 1.149 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/3.024, allocations: 0 / 1.149 GB, free: 14.71 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)