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.282/2.282, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002212/0.002212, allocations: 178.4 kB / 325.5 MB, free: 2.891 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.357/2.357, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.00117/0.001169, allocations: 88.61 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004949, allocations: 12.56 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2164, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2265/0.4429, allocations: 131.2 MB / 1.027 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.4433, allocations: 71.95 kB / 1.027 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003613/0.4469, allocations: 0.8995 MB / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.883e-06/0.447, allocations: 0 / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.447, allocations: 0 / 1.028 GB, free: 13.07 MB / 0.6823 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.0006852/0.4477, allocations: 383.1 kB / 1.028 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4478, allocations: 8.031 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.4478, allocations: 34.56 kB / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.4479, allocations: 0 / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.448, allocations: 182.8 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.4481, allocations: 8 kB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.4481, allocations: 0 / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.4483, allocations: 49.69 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4483, allocations: 0 / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4483, allocations: 0 / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4483, allocations: 4 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/0.4484, allocations: 19.98 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.449, allocations: 280.8 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.4492, allocations: 50.48 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.4492, allocations: 4 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.4494, allocations: 67.52 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.4494, allocations: 0 / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003102/0.4497, allocations: 93.81 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.4498, allocations: 63.36 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4499, allocations: 105 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.45, allocations: 29.7 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.45, allocations: 84.14 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.4501, allocations: 19.81 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.4501, allocations: 0 / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4503, allocations: 318.8 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.4503, allocations: 12 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.4504, allocations: 38.5 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.049e-05/0.4505, allocations: 19.92 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4505, allocations: 8 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001813/0.4507, allocations: 77.53 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4507, allocations: 4 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4507, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4507, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.132e-05/0.4508, allocations: 8 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.4509, allocations: 7.922 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.451, allocations: 15.94 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4511, allocations: 8.062 kB / 1.03 GB, free: 10.88 MB / 0.6823 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.0001229/0.4512, allocations: 117.8 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.4512, allocations: 8 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.4513, allocations: 4.375 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.4513, allocations: 0 / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4513, allocations: 7.938 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4513, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.4515, allocations: 177.6 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4515, allocations: 0 / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.4516, allocations: 8 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4516, allocations: 4 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.4516, allocations: 0 / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4516, allocations: 0 / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4516, allocations: 3.984 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.4519, allocations: 105 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.452, allocations: 81.02 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.452, allocations: 4 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4521, allocations: 19.98 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.4522, allocations: 11.97 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.4522, allocations: 0 / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.895e-05/0.4523, allocations: 91.22 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4523, allocations: 0 / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002521/0.4526, allocations: 16 kB / 1.031 GB, free: 10.14 MB / 0.6823 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.0005637/0.4532, allocations: 0.6335 MB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.4534, allocations: 48.09 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4534, allocations: 0 / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.4535, allocations: 28.16 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.4538, allocations: 14 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.455, allocations: 0.7933 MB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.4553, allocations: 0.6887 MB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.375e-05/0.4554, allocations: 7.984 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.4554, allocations: 15.44 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/0.4555, allocations: 0 / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.4759, allocations: 1.586 MB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003373/0.4763, allocations: 181.3 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.732, allocations: 0 / 1.034 GB, free: 6.098 MB / 0.6823 GB