Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.32/2.32, allocations: 248.5 MB / 261 MB, free: 5.969 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.001458/0.001458, allocations: 178.6 kB / 320.4 MB, free: 15.34 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.996/1.996, 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.001709/0.001709, allocations: 92.94 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.281e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2162, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9208/1.137, allocations: 131.2 MB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/1.137, allocations: 73.27 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003689/1.141, allocations: 0.9034 MB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/1.141, allocations: 0 / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.685e-05/1.141, allocations: 4 kB / 1.02 GB, free: 3.156 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.000566/1.142, allocations: 354.5 kB / 1.02 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/1.142, allocations: 8.031 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/1.142, allocations: 37.31 kB / 1.02 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/1.142, allocations: 7.906 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/1.142, allocations: 174.9 kB / 1.02 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/1.142, allocations: 6.812 kB / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/1.142, allocations: 0 / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/1.142, allocations: 49.23 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.142, allocations: 3.984 kB / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/1.142, allocations: 0 / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/1.142, allocations: 7.938 kB / 1.02 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.585e-05/1.143, allocations: 19.44 kB / 1.02 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/1.143, allocations: 309.7 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/1.143, allocations: 43.45 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/1.144, allocations: 25.69 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/1.144, allocations: 0 / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/1.144, allocations: 80.64 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/1.144, allocations: 0 / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002364/1.144, allocations: 72.33 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.144, allocations: 54.59 kB / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/1.144, allocations: 114.9 kB / 1.021 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/1.144, allocations: 25.7 kB / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/1.144, allocations: 87.28 kB / 1.021 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/1.144, allocations: 11.14 kB / 1.021 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/1.144, allocations: 0 / 1.021 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.144, allocations: 325.9 kB / 1.021 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/1.145, allocations: 14.38 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/1.145, allocations: 30.2 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/1.145, allocations: 18.8 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.145, allocations: 0 / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001689/1.145, allocations: 79.16 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.145, allocations: 8 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.145, allocations: 0 / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/1.145, allocations: 0 / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/1.145, allocations: 4 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.145, allocations: 7.891 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/1.145, allocations: 20.05 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/1.145, allocations: 7.938 kB / 1.022 GB, free: 1.078 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,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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.319e-05/1.145, allocations: 107.7 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/1.145, allocations: 7.906 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/1.145, allocations: 11.67 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.145, allocations: 7.984 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.145, allocations: 0 / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.145, allocations: 7.953 kB / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/1.146, allocations: 180.2 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.146, allocations: 0 / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/1.146, allocations: 0 / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.146, allocations: 0 / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/1.146, allocations: 0 / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.146, allocations: 4 kB / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.146, allocations: 0 / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/1.146, allocations: 104.5 kB / 1.022 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/1.146, allocations: 81.09 kB / 1.022 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/1.146, allocations: 4 kB / 1.022 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/1.146, allocations: 19.36 kB / 1.022 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/1.146, allocations: 7.984 kB / 1.022 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/1.146, allocations: 7.938 kB / 1.022 GB, free: 488 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.673e-05/1.146, allocations: 94.56 kB / 1.022 GB, free: 400 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.146, allocations: 0 / 1.022 GB, free: 400 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002418/1.147, allocations: 12 kB / 1.022 GB, free: 388 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.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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.0005393/1.147, allocations: 0.6422 MB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001603/1.147, allocations: 38 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.147, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.277e-05/1.147, allocations: 31.11 kB / 1.023 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/1.148, allocations: 12 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/1.148, allocations: 129.1 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/1.149, allocations: 0.6887 MB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.124e-05/1.149, allocations: 11.84 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/1.149, allocations: 15.38 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.149, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/1.173, allocations: 1.597 MB / 1.025 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003493/1.174, allocations: 158.1 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.546, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.6511 GB