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.338/2.338, allocations: 248.7 MB / 256.2 MB, free: 7.082 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.001449/0.001449, allocations: 167.2 kB / 315.4 MB, free: 4.016 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.031/2.031, 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.001094/0.001094, allocations: 97.47 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.259e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2026, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.912/1.115, allocations: 131.5 MB / 1.013 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.115, allocations: 70.58 kB / 1.013 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004836/1.12, allocations: 1.155 MB / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/1.12, allocations: 4 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.12, allocations: 4 kB / 1.014 GB, free: 6.246 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.0007036/1.121, allocations: 384.5 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.121, allocations: 12.03 kB / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/1.121, allocations: 4 kB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/1.121, allocations: 182.9 kB / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/1.121, allocations: 2.188 kB / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/1.121, allocations: 4 kB / 1.014 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001365/1.121, allocations: 25.44 kB / 1.014 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/1.121, allocations: 59.92 kB / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.121, allocations: 0 / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/1.121, allocations: 0 / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.121, allocations: 6.203 kB / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/1.122, allocations: 328.1 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/1.122, allocations: 40.95 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/1.122, allocations: 20.67 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/1.122, allocations: 96 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/1.123, allocations: 89.73 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/1.123, allocations: 0 / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002737/1.123, allocations: 79.75 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/1.123, allocations: 67.23 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/1.123, allocations: 113.8 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/1.123, allocations: 29.7 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/1.123, allocations: 86.27 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/1.123, allocations: 23.33 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/1.123, allocations: 0 / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.124, allocations: 322.1 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/1.124, allocations: 19.88 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.779e-05/1.124, allocations: 42.72 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/1.124, allocations: 22.86 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.124, allocations: 0 / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002064/1.124, allocations: 83.84 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.124, allocations: 11.94 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.124, allocations: 4.094 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.124, allocations: 4 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/1.124, allocations: 10.81 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.124, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/1.124, allocations: 27.92 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/1.124, allocations: 4 kB / 1.016 GB, free: 4.105 MB / 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.0001082/1.125, allocations: 122.7 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001963/1.125, allocations: 87.2 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/1.125, allocations: 11.89 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/1.125, allocations: 10.69 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/1.125, allocations: 4 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.125, allocations: 3.953 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.125, allocations: 0 / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/1.125, allocations: 164.2 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.125, allocations: 0 / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/1.125, allocations: 4 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.125, allocations: 4 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.125, allocations: 0 / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.125, allocations: 3.938 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.125, allocations: 0 / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/1.125, allocations: 118.7 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/1.126, allocations: 77.11 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/1.126, allocations: 4 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/1.126, allocations: 24.84 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/1.126, allocations: 19.05 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/1.126, allocations: 3.984 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.709e-05/1.126, allocations: 94.09 kB / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.126, allocations: 0 / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002898/1.126, allocations: 16 kB / 1.016 GB, free: 3.312 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: 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.0006013/1.127, allocations: 0.654 MB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001984/1.127, allocations: 55.69 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.127, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/1.127, allocations: 38.67 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/1.128, allocations: 23.8 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/1.128, allocations: 148.5 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.128, allocations: 0.6968 MB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.245e-05/1.129, allocations: 8.547 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/1.129, allocations: 24.94 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/1.129, allocations: 0 / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/1.17, allocations: 1.708 MB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003809/1.17, allocations: 142.3 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.548, allocations: 1.688 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB