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.237/2.237, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001509/0.001509, allocations: 183.3 kB / 315.4 MB, free: 3.98 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.051/2.051, allocations: 205.3 MB / 0.5662 GB, free: 0.5078 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.001089/0.001089, allocations: 86.48 kB / 0.6704 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.93e-05/4.949e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2055, allocations: 106.3 MB / 0.8841 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.902/1.108, allocations: 131.4 MB / 1.012 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.108, allocations: 74.33 kB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003472/1.111, allocations: 0.8947 MB / 1.013 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/1.111, allocations: 0 / 1.013 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.598e-06/1.111, allocations: 0 / 1.013 GB, free: 6.668 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.0005539/1.112, allocations: 364.3 kB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.112, allocations: 12.03 kB / 1.014 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/1.112, allocations: 15.64 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/1.112, allocations: 175 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/1.112, allocations: 0 / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/1.112, allocations: 4 kB / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.648e-05/1.112, allocations: 15.31 kB / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/1.113, allocations: 45.38 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.113, allocations: 3.984 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.113, allocations: 0 / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.113, allocations: 0 / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/1.113, allocations: 295.9 kB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/1.113, allocations: 37.52 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/1.113, allocations: 20.55 kB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/1.114, allocations: 0 / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/1.114, allocations: 73.67 kB / 1.014 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/1.114, allocations: 0 / 1.014 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.00022/1.114, allocations: 64.94 kB / 1.014 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/1.114, allocations: 55.41 kB / 1.015 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.114, allocations: 108.1 kB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/1.114, allocations: 29.7 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/1.114, allocations: 87.77 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/1.114, allocations: 3.984 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/1.114, allocations: 0 / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.114, allocations: 326.4 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/1.114, allocations: 11.62 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.123e-05/1.115, allocations: 34.69 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.689e-05/1.115, allocations: 23.42 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.115, allocations: 0 / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001571/1.115, allocations: 64.91 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.115, allocations: 8 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.115, allocations: 3.938 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.115, allocations: 0 / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/1.115, allocations: 7.938 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.115, allocations: 4 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/1.115, allocations: 20.05 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/1.115, allocations: 4 kB / 1.015 GB, free: 4.68 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.578e-05/1.115, allocations: 110.5 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001498/1.115, allocations: 72.78 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/1.115, allocations: 7.734 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/1.115, allocations: 16.3 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.116, allocations: 0 / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.116, allocations: 0 / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.116, allocations: 7.953 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/1.116, allocations: 149.5 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.116, allocations: 4 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/1.116, allocations: 3.984 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.116, allocations: 0 / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/1.116, allocations: 0 / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.116, allocations: 0 / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.116, allocations: 0.5469 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/1.116, allocations: 96.38 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/1.116, allocations: 88.58 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/1.116, allocations: 3.984 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/1.116, allocations: 11.98 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/1.116, allocations: 11.92 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/1.116, allocations: 4 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.283e-05/1.116, allocations: 90.16 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.116, allocations: 0 / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002688/1.117, allocations: 12 kB / 1.016 GB, free: 3.957 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.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.0005454/1.117, allocations: 0.6291 MB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000145/1.117, allocations: 38.75 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.117, allocations: 0 / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/1.118, allocations: 19.56 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/1.118, allocations: 19.73 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/1.118, allocations: 124.8 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.119, allocations: 0.6885 MB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.952e-05/1.119, allocations: 11.8 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/1.119, allocations: 22.48 kB / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/1.119, allocations: 7.938 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/1.155, allocations: 1.272 MB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003621/1.155, allocations: 139.3 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/3.403, allocations: 3.938 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB