Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001061/0.001061, allocations: 176.8 kB / 321.3 MB, free: 14.66 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.672/1.672, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009897/0.0009897, allocations: 94.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.594e-05, allocations: 4 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2801, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8155/1.096, allocations: 131.4 MB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.096, allocations: 69.58 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00337/1.099, allocations: 1.165 MB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.334e-06/1.099, allocations: 0 / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.157e-06/1.099, allocations: 0 / 1.021 GB, free: 2.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.0007082/1.1, allocations: 385.7 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.488e-05/1.1, allocations: 8.031 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/1.1, allocations: 34.55 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/1.1, allocations: 7.906 kB / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/1.1, allocations: 182.7 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/1.101, allocations: 4 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/1.101, allocations: 7.75 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/1.101, allocations: 56.8 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.101, allocations: 0 / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/1.101, allocations: 3.812 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/1.101, allocations: 4 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.625e-05/1.101, allocations: 30.62 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007411/1.102, allocations: 357 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/1.102, allocations: 51.3 kB / 1.023 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/1.102, allocations: 24.17 kB / 1.023 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/1.102, allocations: 0 / 1.023 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/1.102, allocations: 85.95 kB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/1.102, allocations: 8 kB / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003026/1.102, allocations: 93.72 kB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/1.102, allocations: 55.41 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/1.103, allocations: 115.3 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/1.103, allocations: 28.7 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/1.103, allocations: 91.39 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/1.103, allocations: 26.72 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/1.103, allocations: 0 / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002453/1.103, allocations: 321.8 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/1.103, allocations: 19.88 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/1.103, allocations: 52.73 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.625e-05/1.103, allocations: 19.31 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.103, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001735/1.103, allocations: 101.7 kB / 1.024 GB, free: 44 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.104, allocations: 8 kB / 1.024 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.104, allocations: 7.922 kB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.104, allocations: 0 / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/1.104, allocations: 8 kB / 1.024 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.104, allocations: 7.891 kB / 1.024 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/1.104, allocations: 27.88 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/1.104, allocations: 8 kB / 1.024 GB, free: 15.98 MB / 0.6511 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.0001037/1.104, allocations: 121.7 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/1.104, allocations: 7.906 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.035e-05/1.104, allocations: 11.25 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/1.104, allocations: 4 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.104, allocations: 3.984 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.104, allocations: 3.953 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/1.104, allocations: 184.3 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.104, allocations: 4 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/1.104, allocations: 3.438 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.104, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/1.104, allocations: 4 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.104, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.104, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/1.105, allocations: 118.5 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/1.105, allocations: 88.52 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/1.105, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/1.105, allocations: 27.97 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/1.105, allocations: 11.3 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/1.105, allocations: 7.984 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.215e-05/1.105, allocations: 95.75 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/1.105, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000204/1.105, allocations: 18.88 kB / 1.024 GB, free: 15.24 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.0006533/1.106, allocations: 0.6654 MB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001714/1.106, allocations: 65.98 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.106, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/1.106, allocations: 32.5 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/1.106, allocations: 27.48 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/1.107, allocations: 155.4 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/1.107, allocations: 0.6965 MB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.63e-05/1.107, allocations: 4.562 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/1.108, allocations: 33.67 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/1.108, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/1.122, allocations: 2.044 MB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.122, allocations: 158.6 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.747, allocations: 64 / 1.028 GB, free: 11.4 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)