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.539/2.539, allocations: 248.7 MB / 256.2 MB, free: 7.102 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.001421/0.001421, allocations: 185.7 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 93.7 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.44e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2033, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8676/1.071, allocations: 131.4 MB / 1.012 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.071, allocations: 69.39 kB / 1.013 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003516/1.075, allocations: 0.9027 MB / 1.013 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/1.075, allocations: 0 / 1.013 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.075, allocations: 0 / 1.013 GB, free: 6.508 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.0005779/1.076, allocations: 353.8 kB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.076, allocations: 12.03 kB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/1.076, allocations: 7.844 kB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/1.076, allocations: 175 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/1.076, allocations: 4 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/1.076, allocations: 0 / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/1.076, allocations: 22.05 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/1.076, allocations: 48.56 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/1.076, allocations: 7.922 kB / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.076, allocations: 0 / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/1.076, allocations: 0 / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/1.077, allocations: 263.3 kB / 1.014 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.077, allocations: 45.06 kB / 1.014 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/1.077, allocations: 12.42 kB / 1.014 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/1.077, allocations: 0 / 1.014 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/1.077, allocations: 76.84 kB / 1.014 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/1.077, allocations: 4 kB / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000206/1.077, allocations: 64.38 kB / 1.014 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/1.077, allocations: 55.41 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/1.077, allocations: 103.5 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/1.077, allocations: 25.7 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/1.077, allocations: 91.62 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/1.078, allocations: 15.28 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/1.078, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.078, allocations: 325.2 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/1.078, allocations: 11.25 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-05/1.078, allocations: 29.14 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/1.078, allocations: 11.19 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.078, allocations: 0 / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001579/1.078, allocations: 67.84 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.078, allocations: 8.062 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.078, allocations: 4 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.078, allocations: 0.8125 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/1.078, allocations: 15.11 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.078, allocations: 4 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/1.078, allocations: 11.98 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/1.078, allocations: 4 kB / 1.015 GB, free: 4.559 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.287e-05/1.078, allocations: 104.9 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001453/1.079, allocations: 74.09 kB / 1.015 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/1.079, allocations: 10.28 kB / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/1.079, allocations: 11.88 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.079, allocations: 3.938 kB / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.079, allocations: 0 / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.079, allocations: 3.953 kB / 1.015 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/1.079, allocations: 156.4 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.079, allocations: 192 / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/1.079, allocations: 0 / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.079, allocations: 3.938 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/1.079, allocations: 4 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.079, allocations: 4 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.079, allocations: 0 / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/1.079, allocations: 92.05 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/1.079, allocations: 85.02 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/1.079, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/1.079, allocations: 19.23 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/1.08, allocations: 7.984 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/1.08, allocations: 4 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.511e-05/1.08, allocations: 94.77 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.08, allocations: 3.938 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002523/1.08, allocations: 8 kB / 1.016 GB, free: 3.828 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.0004959/1.08, allocations: 0.6334 MB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001497/1.081, allocations: 46.05 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.081, allocations: 0 / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.701e-05/1.081, allocations: 15.19 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/1.081, allocations: 16.2 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/1.081, allocations: 127.2 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/1.082, allocations: 0.6884 MB / 1.017 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.814e-05/1.082, allocations: 11.84 kB / 1.017 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/1.082, allocations: 14.94 kB / 1.017 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/1.082, allocations: 0 / 1.017 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03664/1.119, allocations: 1.283 MB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004368/1.119, allocations: 151.3 kB / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/3.318, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.6355 GB