Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.31/2.31, allocations: 248.5 MB / 261.1 MB, free: 5.98 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.001424/0.001423, allocations: 174.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.985/1.985, allocations: 205.2 MB / 0.5711 GB, free: 11.82 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.001159/0.001159, allocations: 98.41 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.491e-05/4.496e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 106.3 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8925/1.112, allocations: 131.2 MB / 1.019 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/1.112, allocations: 74.61 kB / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004848/1.117, allocations: 1.163 MB / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.458e-06/1.117, allocations: 0 / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.675e-06/1.117, allocations: 3.938 kB / 1.02 GB, free: 2.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006764/1.118, allocations: 393.1 kB / 1.02 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.118, allocations: 8.031 kB / 1.02 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/1.118, allocations: 30.56 kB / 1.02 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/1.118, allocations: 11.95 kB / 1.02 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/1.118, allocations: 182.3 kB / 1.021 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/1.118, allocations: 0 / 1.021 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/1.118, allocations: 6.75 kB / 1.021 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/1.118, allocations: 70.36 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.118, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/1.118, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/1.118, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/1.118, allocations: 36.8 kB / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/1.119, allocations: 345.1 kB / 1.021 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/1.12, allocations: 53.05 kB / 1.021 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.015e-05/1.12, allocations: 20.11 kB / 1.021 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/1.12, allocations: 4 kB / 1.021 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/1.12, allocations: 84.84 kB / 1.021 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.786e-06/1.12, allocations: 3.938 kB / 1.021 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000303/1.12, allocations: 86.39 kB / 1.021 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.12, allocations: 67.53 kB / 1.021 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/1.12, allocations: 117.8 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/1.12, allocations: 29.69 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/1.121, allocations: 94.2 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/1.121, allocations: 19.03 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/1.121, allocations: 2.625 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.121, allocations: 322 kB / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/1.121, allocations: 18.88 kB / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/1.121, allocations: 50.94 kB / 1.022 GB, free: 484 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.403e-05/1.121, allocations: 22.67 kB / 1.022 GB, free: 468 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.121, allocations: 96 / 1.022 GB, free: 468 kB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002262/1.121, allocations: 97.72 kB / 1.022 GB, free: 376 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.121, allocations: 4 kB / 1.022 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.121, allocations: 12.03 kB / 1.022 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/1.121, allocations: 3.984 kB / 1.022 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/1.121, allocations: 19.39 kB / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/1.121, allocations: 0 / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/1.122, allocations: 19.98 kB / 1.022 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/1.122, allocations: 4 kB / 1.022 GB, free: 316 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001064/1.122, allocations: 123.2 kB / 1.022 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/1.122, allocations: 7.906 kB / 1.022 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/1.122, allocations: 7.875 kB / 1.022 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.122, allocations: 7.984 kB / 1.022 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.122, allocations: 3.953 kB / 1.022 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.122, allocations: 0 / 1.022 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/1.122, allocations: 191.2 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.122, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/1.122, allocations: 3.938 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.122, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.122, allocations: 6.812 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/1.122, allocations: 7.984 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.122, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/1.123, allocations: 116.4 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/1.123, allocations: 89 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/1.123, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/1.123, allocations: 27.98 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/1.123, allocations: 15.34 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/1.123, allocations: 4 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.521e-05/1.123, allocations: 99.27 kB / 1.023 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.123, allocations: 192 / 1.023 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003066/1.123, allocations: 19.95 kB / 1.023 GB, free: 15.55 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005885/1.124, allocations: 0.6559 MB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002236/1.124, allocations: 58.31 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.124, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/1.124, allocations: 35.56 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/1.125, allocations: 23.34 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/1.125, allocations: 163.9 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/1.126, allocations: 0.6926 MB / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.603e-05/1.126, allocations: 8.547 kB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/1.126, allocations: 21.44 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.126, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/1.147, allocations: 2.048 MB / 1.027 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003937/1.148, allocations: 161.9 kB / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.566, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.6511 GB