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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.026/4.026, allocations: 433.2 MB / 440.8 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.966e-05/3.978e-05, allocations: 10.41 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2156, allocations: 98.73 MB / 0.6289 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/0.4458, allocations: 123.6 MB / 0.7496 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.4461, allocations: 67.95 kB / 0.7496 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003575/0.4497, allocations: 0.8953 MB / 0.7505 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4498, allocations: 0 / 0.7505 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.4498, allocations: 4 kB / 0.7505 GB, free: 12.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005571/0.4504, allocations: 358.5 kB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4504, allocations: 8.031 kB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.4505, allocations: 11.86 kB / 0.7509 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.4507, allocations: 167 kB / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4507, allocations: 0 / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.4507, allocations: 8 kB / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.4508, allocations: 23.98 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.451, allocations: 49.61 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.451, allocations: 0 / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.451, allocations: 4 kB / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.451, allocations: 4 kB / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.4515, allocations: 249.4 kB / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.4516, allocations: 42.56 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.4517, allocations: 16.98 kB / 0.7514 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.4517, allocations: 4 kB / 0.7514 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.4519, allocations: 75.23 kB / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.325e-06/0.4519, allocations: 0 / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000212/0.4521, allocations: 65.67 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.4522, allocations: 55.36 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.4523, allocations: 109 kB / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.4524, allocations: 25.7 kB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.4524, allocations: 96.06 kB / 0.7518 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.4525, allocations: 15.81 kB / 0.7518 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.4525, allocations: 0 / 0.7518 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4526, allocations: 318.8 kB / 0.7521 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.4527, allocations: 12 kB / 0.7522 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.4527, allocations: 38.45 kB / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.4528, allocations: 12 kB / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4528, allocations: 0 / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001584/0.453, allocations: 69.62 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.453, allocations: 4 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.453, allocations: 3.984 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4531, allocations: 4 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.4531, allocations: 7.984 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4531, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.4533, allocations: 24 kB / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.4533, allocations: 0 / 0.7523 GB, free: 10.3 MB / 0.6355 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 9.153e-05/0.4534, allocations: 110.5 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001419/0.4536, allocations: 69.58 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.4536, allocations: 7.906 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.4537, allocations: 8.625 kB / 0.7525 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4537, allocations: 4 kB / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4537, allocations: 3.953 kB / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4537, allocations: 0 / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.4539, allocations: 154.2 kB / 0.7527 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4539, allocations: 0 / 0.7527 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-05/0.4539, allocations: 4 kB / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.454, allocations: 0 / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.454, allocations: 0 / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.454, allocations: 0 / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.454, allocations: 0 / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.4542, allocations: 97 kB / 0.7528 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.4542, allocations: 89.02 kB / 0.7528 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.4543, allocations: 4 kB / 0.7528 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.4544, allocations: 15.98 kB / 0.7529 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.4545, allocations: 11.97 kB / 0.7529 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.4545, allocations: 4 kB / 0.7529 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.161e-05/0.4546, allocations: 91.83 kB / 0.753 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4546, allocations: 0 / 0.753 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002526/0.4549, allocations: 12 kB / 0.753 GB, free: 9.543 MB / 0.6355 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.0005172/0.4554, allocations: 0.636 MB / 0.7536 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.4556, allocations: 39.98 kB / 0.7536 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4556, allocations: 0 / 0.7536 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.4557, allocations: 19.94 kB / 0.7537 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.4559, allocations: 12.31 kB / 0.7537 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.4564, allocations: 129.5 kB / 0.7538 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4567, allocations: 0.6885 MB / 0.7545 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.761e-05/0.4568, allocations: 7.766 kB / 0.7545 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.4568, allocations: 15.44 kB / 0.7545 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.4568, allocations: 4 kB / 0.7545 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.4931, allocations: 1.285 MB / 0.7557 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/0.4934, allocations: 139.3 kB / 0.7559 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.822, allocations: 0 / 0.7559 GB, free: 6.438 MB / 0.6355 GB