Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006515/0.006521, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00177/0.00177, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.927/3.927, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.029/4.029, allocations: 472.3 MB / 0.9024 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005044, allocations: 19.98 kB / 1.008 GB, free: 176.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1829, allocations: 98.71 MB / 1.105 GB, free: 80.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7567/0.9397, allocations: 124.3 MB / 1.226 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.94, allocations: 74.95 kB / 1.226 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.003255/0.9433, allocations: 0.8979 MB / 1.227 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9433, allocations: 3.406 kB / 1.227 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.9433, allocations: 0 / 1.227 GB, free: 18.37 MB / 0.6042 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.0005006/0.9438, allocations: 366.7 kB / 1.227 GB, free: 18.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.9439, allocations: 14.09 kB / 1.227 GB, free: 18.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.9439, allocations: 0 / 1.227 GB, free: 18.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.9441, allocations: 179.9 kB / 1.228 GB, free: 17.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.9441, allocations: 2.25 kB / 1.228 GB, free: 17.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.9441, allocations: 3.5 kB / 1.228 GB, free: 17.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.9442, allocations: 50.42 kB / 1.228 GB, free: 17.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.9443, allocations: 2.812 kB / 1.228 GB, free: 17.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.9443, allocations: 5.953 kB / 1.228 GB, free: 17.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9443, allocations: 0 / 1.228 GB, free: 17.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.231e-05/0.9444, allocations: 26.94 kB / 1.228 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.9448, allocations: 282.1 kB / 1.228 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.9449, allocations: 44.34 kB / 1.228 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.945, allocations: 21.33 kB / 1.228 GB, free: 17.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.945, allocations: 0 / 1.228 GB, free: 17.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.9452, allocations: 80 kB / 1.228 GB, free: 17.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.9452, allocations: 0 / 1.228 GB, free: 17.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002445/0.9455, allocations: 88.8 kB / 1.228 GB, free: 17.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.9455, allocations: 55.36 kB / 1.228 GB, free: 17.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.9456, allocations: 114.4 kB / 1.228 GB, free: 17.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.9456, allocations: 30.11 kB / 1.228 GB, free: 17.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000534/0.9462, allocations: 84.59 kB / 1.228 GB, free: 33.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.9462, allocations: 25.64 kB / 1.228 GB, free: 33.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.9462, allocations: 0 / 1.228 GB, free: 33.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9464, allocations: 315.2 kB / 1.229 GB, free: 32.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.9464, allocations: 19.81 kB / 1.229 GB, free: 32.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.9465, allocations: 32.58 kB / 1.229 GB, free: 32.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.723e-05/0.9466, allocations: 12.39 kB / 1.229 GB, free: 32.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9466, allocations: 0 / 1.229 GB, free: 32.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001533/0.9467, allocations: 78.48 kB / 1.229 GB, free: 32.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.9468, allocations: 9.156 kB / 1.229 GB, free: 32.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.9468, allocations: 2.438 kB / 1.229 GB, free: 32.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9468, allocations: 2 kB / 1.229 GB, free: 32.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.9469, allocations: 7.688 kB / 1.229 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.9469, allocations: 5.172 kB / 1.229 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.9471, allocations: 15.3 kB / 1.229 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.9471, allocations: 8.969 kB / 1.229 GB, free: 32.71 MB / 0.6198 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.0001058/0.9472, allocations: 120.5 kB / 1.229 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.9472, allocations: 6.281 kB / 1.229 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.9473, allocations: 12.45 kB / 1.229 GB, free: 32.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9473, allocations: 1.062 kB / 1.229 GB, free: 32.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9473, allocations: 0 / 1.229 GB, free: 32.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.9473, allocations: 9.047 kB / 1.229 GB, free: 32.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.9475, allocations: 176.5 kB / 1.229 GB, free: 32.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9475, allocations: 2.688 kB / 1.229 GB, free: 32.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.9475, allocations: 1.344 kB / 1.229 GB, free: 32.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9476, allocations: 192 / 1.229 GB, free: 32.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.9476, allocations: 1.312 kB / 1.229 GB, free: 32.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9476, allocations: 5.297 kB / 1.229 GB, free: 32.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9476, allocations: 1.156 kB / 1.229 GB, free: 32.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.9478, allocations: 100.9 kB / 1.229 GB, free: 32.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.9478, allocations: 85.41 kB / 1.229 GB, free: 32.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.9478, allocations: 8.109 kB / 1.229 GB, free: 32.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.948, allocations: 19.89 kB / 1.229 GB, free: 32.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.9481, allocations: 8.281 kB / 1.229 GB, free: 32.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.9481, allocations: 0.5156 kB / 1.229 GB, free: 32.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.752e-05/0.9482, allocations: 96.09 kB / 1.23 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9482, allocations: 0 / 1.23 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002613/0.9484, allocations: 11.56 kB / 1.23 GB, free: 32.14 MB / 0.6198 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.0001272/0.9486, allocations: 101.7 kB / 1.23 GB, free: 32.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.9487, allocations: 52.25 kB / 1.23 GB, free: 32.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9487, allocations: 0 / 1.23 GB, free: 32.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.9488, allocations: 28.53 kB / 1.23 GB, free: 32.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.9491, allocations: 23.06 kB / 1.23 GB, free: 32.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.9495, allocations: 164 kB / 1.23 GB, free: 31.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.9498, allocations: 0.6874 MB / 1.231 GB, free: 31.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.9499, allocations: 12.38 kB / 1.231 GB, free: 31.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.9499, allocations: 11.25 kB / 1.231 GB, free: 31.21 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.9499, allocations: 0 / 1.231 GB, free: 31.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.003706/0.9536, allocations: 0.7352 MB / 1.231 GB, free: 31.18 MB / 0.6198 GB