Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_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.397/2.397, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001467/0.001466, allocations: 172.8 kB / 360.6 MB, free: 7.277 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.085/2.085, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001105/0.001104, allocations: 96.81 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.86e-05, allocations: 8 kB / 0.8509 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8056, allocations: 115.2 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2411/1.047, allocations: 137.5 MB / 1.098 GB, free: 2.977 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000397/1.047, allocations: 68.47 kB / 1.098 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02757/1.075, allocations: 3.354 MB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.194e-06/1.075, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.078e-05/1.075, allocations: 0 / 1.101 GB, free: 15.62 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001131/1.076, allocations: 461.7 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/1.076, allocations: 9.438 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/1.076, allocations: 21.09 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/1.077, allocations: 182.9 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/1.077, allocations: 8 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/1.077, allocations: 19.98 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003105/1.077, allocations: 51.98 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/1.078, allocations: 123.3 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/1.078, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/1.078, allocations: 4 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/1.078, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/1.079, allocations: 0.5337 MB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/1.079, allocations: 141.3 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/1.08, allocations: 61.72 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/1.08, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004331/1.08, allocations: 194 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 2.114e-06/1.08, allocations: 1.5 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0006152/1.081, allocations: 230.5 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/1.081, allocations: 89.19 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/1.081, allocations: 118.5 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/1.081, allocations: 33.7 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/1.081, allocations: 104.6 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/1.081, allocations: 51.36 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/1.081, allocations: 4 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.081, allocations: 322.8 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/1.082, allocations: 84.27 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/1.082, allocations: 142.9 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/1.083, allocations: 95.86 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.083, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001077/1.084, allocations: 291.7 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/1.084, allocations: 67.39 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.084, allocations: 4 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/1.084, allocations: 4 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/1.084, allocations: 19.92 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.084, allocations: 7.938 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006827/1.085, allocations: 95.31 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/1.085, allocations: 19.98 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001751/1.085, allocations: 134.2 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005432/1.086, allocations: 225.4 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/1.086, allocations: 19.89 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/1.086, allocations: 8.75 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/1.086, allocations: 4 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.086, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/1.086, allocations: 7.953 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008313/1.087, allocations: 0.5607 MB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.087, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/1.087, allocations: 11.94 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/1.087, allocations: 0 / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/1.087, allocations: 11.98 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.087, allocations: 0 / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.087, allocations: 4 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/1.087, allocations: 424.2 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/1.088, allocations: 81.02 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/1.088, allocations: 7.938 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/1.088, allocations: 15.97 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.056e-05/1.088, allocations: 31.92 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/1.088, allocations: 15.98 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.966e-05/1.088, allocations: 90.53 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.088, allocations: 0.75 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00059/1.089, allocations: 63.98 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00107/1.09, allocations: 1.03 MB / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007299/1.091, allocations: 318.7 kB / 1.107 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.091, allocations: 0 / 1.107 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/1.091, allocations: 113.2 kB / 1.108 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/1.091, allocations: 30.95 kB / 1.108 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009275/1.092, allocations: 226.4 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.092, allocations: 0.7165 MB / 1.108 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.598e-05/1.093, allocations: 17.2 kB / 1.108 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/1.093, allocations: 39.42 kB / 1.109 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of SimCode: time 1.183e-06/1.093, allocations: 0 / 1.109 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/1.139, allocations: 3.321 MB / 1.112 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/1.139, allocations: 146.3 kB / 1.112 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.563, allocations: 3.938 kB / 1.112 GB, free: 4.012 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)