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.479/2.479, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.00144/0.00144, allocations: 182.8 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.00115, allocations: 82.55 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.977e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2193, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8899/1.109, allocations: 132.1 MB / 1.013 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003891/1.11, allocations: 74.08 kB / 1.013 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01484/1.125, allocations: 2.258 MB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.565e-06/1.125, allocations: 0 / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.378e-05/1.125, allocations: 11.94 kB / 1.015 GB, free: 4.652 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.001391/1.126, allocations: 491.1 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/1.126, allocations: 8.031 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/1.126, allocations: 23.77 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/1.127, allocations: 220 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/1.127, allocations: 11.69 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/1.127, allocations: 19.98 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004698/1.128, allocations: 101 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/1.128, allocations: 149 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.128, allocations: 0 / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/1.128, allocations: 11.94 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/1.128, allocations: 4 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/1.13, allocations: 0.517 MB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/1.131, allocations: 197.8 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/1.131, allocations: 92.55 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/1.131, allocations: 4 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007981/1.132, allocations: 244.2 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 5.42e-06/1.132, allocations: 0 / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.001123/1.133, allocations: 300.3 kB / 1.018 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/1.133, allocations: 70.56 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/1.134, allocations: 136.7 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/1.134, allocations: 36.88 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/1.134, allocations: 110.5 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/1.134, allocations: 87.33 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/1.134, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001981/1.134, allocations: 336.5 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/1.135, allocations: 82.12 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/1.135, allocations: 131.5 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/1.135, allocations: 87.64 kB / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.136, allocations: 4 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001027/1.137, allocations: 274.8 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/1.137, allocations: 4 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.137, allocations: 8.125 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/1.137, allocations: 4 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/1.137, allocations: 43.11 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/1.137, allocations: 7.984 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/1.138, allocations: 31.14 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/1.138, allocations: 15.19 kB / 1.019 GB, free: 1.234 MB / 0.6355 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.0002803/1.138, allocations: 137.8 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001024/1.139, allocations: 301.6 kB / 1.02 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/1.139, allocations: 23.75 kB / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/1.139, allocations: 26.92 kB / 1.02 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.139, allocations: 4 kB / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.139, allocations: 0 / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.139, allocations: 3.953 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/1.142, allocations: 0.6812 MB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.142, allocations: 0 / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/1.142, allocations: 19.88 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.108e-05/1.142, allocations: 0 / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.266e-05/1.142, allocations: 7.984 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/1.142, allocations: 0 / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.397e-05/1.142, allocations: 3.953 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/1.144, allocations: 406.8 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/1.144, allocations: 104.1 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/1.144, allocations: 0 / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/1.145, allocations: 33.42 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/1.145, allocations: 42.7 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/1.145, allocations: 21.92 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.859e-05/1.145, allocations: 106.5 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/1.145, allocations: 0 / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004737/1.145, allocations: 52 kB / 1.021 GB, free: 15.47 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.001179/1.147, allocations: 0.9588 MB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006451/1.147, allocations: 249.9 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.147, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/1.148, allocations: 138.5 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/1.148, allocations: 27.88 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/1.149, allocations: 334.5 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/1.15, allocations: 0.7412 MB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001628/1.15, allocations: 31.28 kB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/1.15, allocations: 69.28 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of SimCode: time 9.61e-07/1.15, allocations: 0 / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04258/1.193, allocations: 3.851 MB / 1.027 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003618/1.193, allocations: 141 kB / 1.027 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.734, allocations: 0 / 1.027 GB, free: 9.098 MB / 0.6511 GB