Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.147/4.147, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.588e-05, allocations: 7.984 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.499, allocations: 98.7 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.6943, allocations: 123.6 MB / 0.7496 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.6946, allocations: 71.95 kB / 0.7497 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003111/0.6977, allocations: 0.8888 MB / 0.7505 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.189e-06/0.6977, allocations: 0 / 0.7505 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.382e-06/0.6978, allocations: 0 / 0.7505 GB, free: 3.031 MB / 0.6198 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.0004999/0.6983, allocations: 354.5 kB / 0.7509 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.6983, allocations: 20 kB / 0.7509 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.6984, allocations: 11.91 kB / 0.7509 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.6986, allocations: 174.9 kB / 0.7511 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.6986, allocations: 4 kB / 0.7511 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.6986, allocations: 0 / 0.7511 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.071e-05/0.6987, allocations: 20 kB / 0.7511 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.6989, allocations: 49.67 kB / 0.7511 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6989, allocations: 0 / 0.7511 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.6989, allocations: 3.984 kB / 0.7511 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-06/0.6989, allocations: 0 / 0.7511 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.6994, allocations: 265.3 kB / 0.7514 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.6995, allocations: 38.58 kB / 0.7514 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.6996, allocations: 12.98 kB / 0.7514 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.6996, allocations: 7.984 kB / 0.7515 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.6998, allocations: 63.41 kB / 0.7515 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.627e-06/0.6998, allocations: 0 / 0.7515 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002102/0.7, allocations: 69.61 kB / 0.7516 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.7001, allocations: 59.47 kB / 0.7516 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.7002, allocations: 108.8 kB / 0.7517 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.7003, allocations: 29.7 kB / 0.7518 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.7003, allocations: 84.14 kB / 0.7518 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.7004, allocations: 19.8 kB / 0.7519 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-06/0.7004, allocations: 0 / 0.7519 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.7006, allocations: 318.8 kB / 0.7522 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.7006, allocations: 12 kB / 0.7522 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.7007, allocations: 30.56 kB / 0.7522 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.7007, allocations: 12 kB / 0.7522 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-06/0.7007, allocations: 0 / 0.7522 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001591/0.7009, allocations: 69.66 kB / 0.7523 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.7009, allocations: 8 kB / 0.7523 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.088e-06/0.7009, allocations: 0 / 0.7523 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.701, allocations: 3.938 kB / 0.7523 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.701, allocations: 7.938 kB / 0.7523 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.142e-06/0.7011, allocations: 4 kB / 0.7523 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.7012, allocations: 11.98 kB / 0.7523 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.7012, allocations: 7.953 kB / 0.7523 GB, free: 0.9766 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 () * 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.0001034/0.7013, allocations: 117.2 kB / 0.7524 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.7014, allocations: 7.906 kB / 0.7524 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.7014, allocations: 8.562 kB / 0.7525 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-06/0.7014, allocations: 4 kB / 0.7525 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7014, allocations: 0 / 0.7525 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.756e-06/0.7014, allocations: 0 / 0.7525 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.7016, allocations: 158.1 kB / 0.7526 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-06/0.7017, allocations: 0 / 0.7526 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.7017, allocations: 4 kB / 0.7526 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.7017, allocations: 0 / 0.7526 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.325e-06/0.7017, allocations: 4 kB / 0.7526 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.604e-06/0.7017, allocations: 0 / 0.7526 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.6e-06/0.7017, allocations: 3.938 kB / 0.7526 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.7019, allocations: 96.98 kB / 0.7527 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.702, allocations: 77.11 kB / 0.7528 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.702, allocations: 11.98 kB / 0.7528 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.7022, allocations: 15.98 kB / 0.7528 GB, free: 408 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.7022, allocations: 7.984 kB / 0.7528 GB, free: 400 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.7023, allocations: 4 kB / 0.7528 GB, free: 396 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.372e-05/0.7023, allocations: 87.28 kB / 0.7529 GB, free: 308 kB / 0.6198 GB Notification: Performance of sort global known variables: time 7.85e-07/0.7024, allocations: 0 / 0.7529 GB, free: 308 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002681/0.7026, allocations: 12 kB / 0.7529 GB, free: 296 kB / 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 () * 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.0001589/0.7028, allocations: 106.5 kB / 0.753 GB, free: 180 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.703, allocations: 40.72 kB / 0.7531 GB, free: 140 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.703, allocations: 0 / 0.7531 GB, free: 140 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.7031, allocations: 23.98 kB / 0.7531 GB, free: 116 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.7033, allocations: 16.72 kB / 0.7531 GB, free: 100 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.7037, allocations: 95.84 kB / 0.7532 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.704, allocations: 0.6885 MB / 0.7539 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.106e-05/0.7041, allocations: 11.91 kB / 0.7539 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.7041, allocations: 15.42 kB / 0.7539 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of SimCode: time 1.298e-06/0.7041, allocations: 0 / 0.7539 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.003493/0.7076, allocations: 0.7079 MB / 0.7546 GB, free: 14.54 MB / 0.6355 GB