Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.368/2.368, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 197.8 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.462/2.462, allocations: 205.4 MB / 0.5766 GB, free: 21.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 94.42 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006178/0.0006178, allocations: 11.78 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2498, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2219/0.4718, allocations: 131.3 MB / 1.027 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.4721, allocations: 71.95 kB / 1.027 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00357/0.4757, allocations: 0.9033 MB / 1.028 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4757, allocations: 0 / 1.028 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.4758, allocations: 4 kB / 1.028 GB, free: 13.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006281/0.4764, allocations: 371.1 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4765, allocations: 12.03 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.4765, allocations: 0 / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.4767, allocations: 174.9 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.4767, allocations: 4 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.4768, allocations: 0 / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4769, allocations: 53.67 kB / 1.029 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4769, allocations: 11.92 kB / 1.029 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.477, allocations: 3.938 kB / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.477, allocations: 0 / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.4771, allocations: 23.92 kB / 1.029 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.4776, allocations: 284.8 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.4778, allocations: 42.56 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.4778, allocations: 8 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.478, allocations: 71.44 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.478, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0002945/0.4783, allocations: 81.59 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.4784, allocations: 63.36 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4785, allocations: 101 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.4785, allocations: 29.7 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.4786, allocations: 92.2 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.4786, allocations: 19.8 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.4786, allocations: 0 / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4788, allocations: 314.8 kB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.4788, allocations: 19.92 kB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.4789, allocations: 34.58 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.479, allocations: 12 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.479, allocations: 4 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001865/0.4792, allocations: 82.14 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.4792, allocations: 4 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4793, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4793, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.4794, allocations: 8 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.4794, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.4796, allocations: 23.94 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.4796, allocations: 8 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001127/0.4797, allocations: 115.2 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.4797, allocations: 4 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.4798, allocations: 12.36 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4798, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4798, allocations: 4 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4798, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.4801, allocations: 181.5 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4801, allocations: 7.938 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.4801, allocations: 4.188 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4801, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4801, allocations: 3.938 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4801, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4802, allocations: 80 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.4804, allocations: 108.9 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.4804, allocations: 85 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.4805, allocations: 8 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4806, allocations: 15.98 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.4807, allocations: 7.984 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.4807, allocations: 0 / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.256e-05/0.4808, allocations: 91.27 kB / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4808, allocations: 0 / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002533/0.4811, allocations: 16 kB / 1.031 GB, free: 10.63 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000153/0.4813, allocations: 99.25 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.4814, allocations: 47.91 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4815, allocations: 4 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.4815, allocations: 19.98 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.4818, allocations: 15.95 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.4823, allocations: 166.9 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.4827, allocations: 0.6895 MB / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.606e-05/0.4827, allocations: 3.859 kB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.4828, allocations: 15.44 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of SimCode: time 3.657e-06/0.4828, allocations: 0 / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of Templates: time 0.003938/0.4867, allocations: 0.7632 MB / 1.032 GB, free: 8.758 MB / 0.6823 GB