Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.506/2.506, allocations: 284.9 MB / 292.4 MB, free: 10.61 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.001455/0.001455, allocations: 184.9 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.2 MB / 0.6191 GB, free: 12.23 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.001059/0.001059, allocations: 86.12 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.059e-05, allocations: 0 / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8052, allocations: 115.3 MB / 0.9634 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/1.043, allocations: 138.6 MB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/1.043, allocations: 75.95 kB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02687/1.07, allocations: 5.414 MB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/1.07, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.579e-05/1.07, allocations: 12 kB / 1.104 GB, free: 12.4 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001591/1.072, allocations: 0.5443 MB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.714e-05/1.072, allocations: 8.031 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/1.072, allocations: 43.66 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/1.072, allocations: 255.4 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/1.072, allocations: 11.98 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.073, allocations: 27.98 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003187/1.073, allocations: 100.6 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/1.073, allocations: 147.9 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.073, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/1.073, allocations: 3.984 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/1.073, allocations: 8 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/1.075, allocations: 0.5947 MB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/1.075, allocations: 187.6 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/1.076, allocations: 68.86 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/1.076, allocations: 7.938 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/1.076, allocations: 235.3 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 6.532e-06/1.076, allocations: 0 / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0008837/1.077, allocations: 309 kB / 1.107 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/1.077, allocations: 67.39 kB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/1.077, allocations: 165.8 kB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-05/1.078, allocations: 37.7 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/1.078, allocations: 137 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/1.078, allocations: 79.05 kB / 1.107 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/1.078, allocations: 4 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000185/1.078, allocations: 338.8 kB / 1.107 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/1.079, allocations: 133.1 kB / 1.108 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/1.079, allocations: 256.7 kB / 1.108 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009273/1.08, allocations: 166.3 kB / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.08, allocations: 0 / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001814/1.082, allocations: 489.6 kB / 1.108 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.082, allocations: 106.3 kB / 1.109 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.082, allocations: 4 kB / 1.109 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/1.082, allocations: 8 kB / 1.109 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/1.082, allocations: 39.86 kB / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/1.082, allocations: 17.84 kB / 1.109 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/1.083, allocations: 120.1 kB / 1.109 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.084, allocations: 39.91 kB / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002459/1.084, allocations: 152 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007269/1.085, allocations: 297.1 kB / 1.109 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/1.085, allocations: 27.72 kB / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/1.085, allocations: 23.41 kB / 1.109 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/1.085, allocations: 11.94 kB / 1.109 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.085, allocations: 4 kB / 1.109 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.085, allocations: 0 / 1.109 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/1.086, allocations: 0.6427 MB / 1.11 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/1.086, allocations: 0 / 1.11 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/1.086, allocations: 19.92 kB / 1.11 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.086, allocations: 4 kB / 1.11 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/1.086, allocations: 19.88 kB / 1.11 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/1.086, allocations: 0 / 1.11 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.086, allocations: 4 kB / 1.11 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/1.087, allocations: 399 kB / 1.11 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/1.087, allocations: 95.02 kB / 1.11 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.136e-05/1.087, allocations: 7.984 kB / 1.11 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/1.088, allocations: 19.94 kB / 1.11 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/1.088, allocations: 27.95 kB / 1.11 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/1.088, allocations: 19.98 kB / 1.11 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001333/1.088, allocations: 115.3 kB / 1.111 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/1.088, allocations: 0 / 1.111 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006997/1.089, allocations: 79.98 kB / 1.111 GB, free: 5.406 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: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.001207/1.09, allocations: 0.96 MB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00123/1.091, allocations: 0.5065 MB / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.091, allocations: 0 / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/1.091, allocations: 131.4 kB / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/1.092, allocations: 45.59 kB / 1.112 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/1.093, allocations: 358.3 kB / 1.113 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/1.094, allocations: 0.7487 MB / 1.113 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001624/1.094, allocations: 31.47 kB / 1.113 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/1.094, allocations: 71.41 kB / 1.113 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/1.094, allocations: 0 / 1.113 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05138/1.145, allocations: 5.158 MB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003316/1.146, allocations: 159.2 kB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.79, allocations: 0.75 kB / 1.119 GB, free: 13.21 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)