Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.44/2.44, allocations: 248.5 MB / 261.1 MB, free: 6.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 178.6 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.2 MB / 0.571 GB, free: 11.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 86.52 kB / 0.6754 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.348e-05/4.378e-05, allocations: 11.98 kB / 0.7869 GB, free: 97.74 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2196, allocations: 106.2 MB / 0.8907 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8737/1.093, allocations: 131.8 MB / 1.019 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.094, allocations: 68.97 kB / 1.019 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00958/1.103, allocations: 2.269 MB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/1.103, allocations: 0 / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.116e-05/1.103, allocations: 4 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009715/1.104, allocations: 486.5 kB / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.104, allocations: 12.02 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.324e-05/1.105, allocations: 49.11 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/1.105, allocations: 23.77 kB / 1.022 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/1.105, allocations: 220.5 kB / 1.022 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/1.105, allocations: 19.19 kB / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/1.105, allocations: 26.5 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/1.106, allocations: 177.1 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.106, allocations: 4 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/1.106, allocations: 15.75 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/1.106, allocations: 4 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/1.106, allocations: 116.4 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/1.108, allocations: 0.5474 MB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/1.108, allocations: 223.7 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/1.108, allocations: 98.92 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/1.108, allocations: 7.938 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006206/1.109, allocations: 251.5 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 3.056e-06/1.109, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0009064/1.11, allocations: 330.3 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.11, allocations: 62.41 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/1.11, allocations: 144.2 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/1.11, allocations: 41.95 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/1.111, allocations: 116.4 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.111, allocations: 83.77 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/1.111, allocations: 13.75 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.111, allocations: 333.1 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/1.111, allocations: 91.19 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/1.111, allocations: 149.3 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/1.112, allocations: 85.47 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.112, allocations: 3.938 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00074/1.112, allocations: 321.2 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.113, allocations: 8 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.113, allocations: 0 / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.113, allocations: 4 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/1.113, allocations: 46.98 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/1.113, allocations: 8.656 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/1.113, allocations: 46.88 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/1.113, allocations: 11.31 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0002073/1.114, allocations: 148.3 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/1.114, allocations: 27.7 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.638e-05/1.114, allocations: 24 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.114, allocations: 4 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.114, allocations: 4 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.114, allocations: 11.94 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/1.115, allocations: 0.7437 MB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.115, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/1.115, allocations: 12 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/1.116, allocations: 7.938 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/1.116, allocations: 15.48 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/1.116, allocations: 3.953 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.116, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008431/1.116, allocations: 428.3 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.845e-05/1.117, allocations: 96.86 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/1.117, allocations: 11.3 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/1.117, allocations: 35.59 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.117, allocations: 43.06 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/1.117, allocations: 15.81 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001587/1.117, allocations: 116.1 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.117, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004583/1.118, allocations: 70.3 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * 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.001214/1.119, allocations: 0.9863 MB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007242/1.12, allocations: 272.4 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.12, allocations: 0 / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003778/1.12, allocations: 157.9 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/1.121, allocations: 36.05 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/1.122, allocations: 352.8 kB / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/1.122, allocations: 0.7451 MB / 1.03 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001688/1.123, allocations: 26.97 kB / 1.03 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/1.123, allocations: 65.16 kB / 1.03 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/1.123, allocations: 0 / 1.03 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/1.149, allocations: 4.219 MB / 1.034 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/1.15, allocations: 154.5 kB / 1.034 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.706, allocations: 0 / 1.034 GB, free: 5.336 MB / 0.6511 GB