Running: ./testmodel.py --libraries=/home/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 (/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.Nand,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.443/2.443, allocations: 248.5 MB / 261 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.001399, allocations: 185.6 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.2 MB / 0.571 GB, free: 11.79 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.001108/0.001108, allocations: 100.7 kB / 0.6754 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.847e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2198, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8782/1.098, allocations: 131.2 MB / 1.019 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.098, allocations: 70.7 kB / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003554/1.102, allocations: 0.8947 MB / 1.02 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/1.102, allocations: 0 / 1.02 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.102, allocations: 0 / 1.02 GB, free: 2.871 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.0005778/1.103, allocations: 366.8 kB / 1.02 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.103, allocations: 8.031 kB / 1.02 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/1.103, allocations: 34.69 kB / 1.02 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/1.103, allocations: 7.906 kB / 1.02 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/1.103, allocations: 171 kB / 1.02 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/1.103, allocations: 2.188 kB / 1.02 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/1.103, allocations: 7.25 kB / 1.02 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/1.103, allocations: 52.38 kB / 1.02 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.103, allocations: 7.984 kB / 1.02 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/1.103, allocations: 3.984 kB / 1.02 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.103, allocations: 0 / 1.02 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/1.103, allocations: 22.19 kB / 1.02 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/1.104, allocations: 280.5 kB / 1.021 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/1.104, allocations: 48.14 kB / 1.021 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/1.104, allocations: 22 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/1.104, allocations: 0 / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/1.104, allocations: 77.52 kB / 1.021 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/1.104, allocations: 0 / 1.021 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002346/1.105, allocations: 72.56 kB / 1.021 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/1.105, allocations: 51.41 kB / 1.021 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/1.105, allocations: 119.6 kB / 1.021 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/1.105, allocations: 29.58 kB / 1.021 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/1.105, allocations: 87.89 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/1.105, allocations: 11.97 kB / 1.021 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/1.105, allocations: 3.875 kB / 1.021 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.105, allocations: 314.8 kB / 1.021 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.826e-05/1.105, allocations: 11.88 kB / 1.021 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/1.105, allocations: 33.14 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/1.105, allocations: 19.36 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.105, allocations: 0 / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001718/1.105, allocations: 75.72 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.105, allocations: 8 kB / 1.022 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.105, allocations: 0 / 1.022 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.105, allocations: 0 / 1.022 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/1.106, allocations: 7.938 kB / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/1.106, allocations: 7.953 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/1.106, allocations: 19.67 kB / 1.022 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/1.106, allocations: 7.938 kB / 1.022 GB, free: 0.8086 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 8.794e-05/1.106, allocations: 108.3 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/1.106, allocations: 7.891 kB / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/1.106, allocations: 12.25 kB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.106, allocations: 0 / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.106, allocations: 0.6875 kB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/1.106, allocations: 7.953 kB / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/1.106, allocations: 179.8 kB / 1.022 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.106, allocations: 0 / 1.022 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/1.106, allocations: 4 kB / 1.022 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.106, allocations: 0 / 1.022 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/1.106, allocations: 4 kB / 1.022 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.106, allocations: 3.938 kB / 1.022 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.106, allocations: 0 / 1.022 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/1.107, allocations: 103 kB / 1.022 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/1.107, allocations: 81.3 kB / 1.022 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/1.107, allocations: 3.938 kB / 1.022 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/1.107, allocations: 15.92 kB / 1.022 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/1.107, allocations: 11.98 kB / 1.022 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/1.107, allocations: 0 / 1.022 GB, free: 216 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.514e-05/1.107, allocations: 87.7 kB / 1.022 GB, free: 132 kB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.107, allocations: 0 / 1.022 GB, free: 132 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002451/1.107, allocations: 23.61 kB / 1.022 GB, free: 112 kB / 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.0005573/1.108, allocations: 0.6384 MB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001661/1.108, allocations: 47.8 kB / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.108, allocations: 0 / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/1.108, allocations: 27.25 kB / 1.023 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/1.108, allocations: 10.22 kB / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/1.109, allocations: 129.4 kB / 1.023 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/1.109, allocations: 0.6848 MB / 1.024 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.858e-05/1.109, allocations: 11.84 kB / 1.024 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/1.109, allocations: 19.31 kB / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of SimCode: time 7.92e-07/1.109, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/1.13, allocations: 1.599 MB / 1.025 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003422/1.13, allocations: 153.3 kB / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.62, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.6511 GB