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.152/2.152, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 182.9 kB / 325.5 MB, free: 2.887 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.386/2.386, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001161/0.00116, allocations: 99.78 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005428/0.0005429, allocations: 15.41 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2227, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2534/0.4761, allocations: 131.9 MB / 1.028 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.4765, allocations: 71.95 kB / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01007/0.4866, allocations: 2.27 MB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4866, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.4867, allocations: 4 kB / 1.03 GB, free: 11.05 MB / 0.6823 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.001123/0.4878, allocations: 494.3 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.4879, allocations: 15.97 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.351e-05/0.488, allocations: 50.53 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/0.488, allocations: 23.95 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.4884, allocations: 228.7 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.4885, allocations: 24.27 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.4886, allocations: 23.98 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.4891, allocations: 176.8 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4891, allocations: 0 / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.4892, allocations: 23.88 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4892, allocations: 4 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.4896, allocations: 120.5 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.4912, allocations: 0.5469 MB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.4918, allocations: 222.4 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.4918, allocations: 4 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006774/0.4925, allocations: 255.2 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 5.471e-06/0.4925, allocations: 3.984 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.001304/0.4939, allocations: 426.2 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.494, allocations: 71.39 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.4942, allocations: 142.7 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.832e-05/0.4943, allocations: 41.7 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.4944, allocations: 112.9 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.4945, allocations: 98.88 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.4946, allocations: 4 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4948, allocations: 338.8 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.4951, allocations: 93.08 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.4954, allocations: 150.3 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.4958, allocations: 100.7 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4958, allocations: 3.938 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008911/0.4967, allocations: 315.8 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.4967, allocations: 8.125 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4967, allocations: 7.984 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.4968, allocations: 4 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.4971, allocations: 43.86 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4971, allocations: 0 / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.4975, allocations: 47.69 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.4975, allocations: 16 kB / 1.034 GB, free: 6.648 MB / 0.6823 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 () * Number of clocked 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.000267/0.4978, allocations: 167 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.4979, allocations: 23.8 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/0.498, allocations: 21.97 kB / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.498, allocations: 4 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.498, allocations: 0 / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.498, allocations: 4 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.4998, allocations: 0.7482 MB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4999, allocations: 0 / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.5, allocations: 19.92 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.5, allocations: 7.984 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.5001, allocations: 11.98 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.5001, allocations: 3.938 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5001, allocations: 3.953 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.5012, allocations: 439.1 kB / 1.035 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.5013, allocations: 96.77 kB / 1.035 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.5014, allocations: 15.98 kB / 1.035 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.5017, allocations: 31.97 kB / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.5019, allocations: 43.88 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.5019, allocations: 16 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000126/0.5021, allocations: 114.5 kB / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5021, allocations: 3.938 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004646/0.5026, allocations: 67.98 kB / 1.036 GB, free: 4.73 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001415/0.504, allocations: 0.9901 MB / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008344/0.5049, allocations: 282.3 kB / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5049, allocations: 0 / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.5053, allocations: 155.8 kB / 1.037 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.5058, allocations: 39.86 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.5091, allocations: 1.811 MB / 1.039 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.5095, allocations: 0.7413 MB / 1.04 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.5097, allocations: 26.97 kB / 1.04 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.5099, allocations: 67.41 kB / 1.04 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of SimCode: time 1.533e-06/0.51, allocations: 0 / 1.04 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.5453, allocations: 4.102 MB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003348/0.5457, allocations: 188.5 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.022, allocations: 0 / 1.044 GB, free: 12.3 MB / 0.698 GB