Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.789/2.789, allocations: 285.6 MB / 293.1 MB, free: 10.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 176.9 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.068/3.068, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001443/0.001443, allocations: 91.14 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.656e-05/4.653e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38/1.38, allocations: 115.3 MB / 0.9645 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/1.725, allocations: 137.4 MB / 1.099 GB, free: 2.328 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/1.725, allocations: 72.94 kB / 1.099 GB, free: 2.258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01749/1.742, allocations: 4.041 MB / 1.103 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/1.742, allocations: 0 / 1.103 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.742, allocations: 0 / 1.103 GB, free: 14.3 MB / 0.7136 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.0006349/1.743, allocations: 455.4 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.743, allocations: 12.03 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.219e-05/1.743, allocations: 12.94 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/1.743, allocations: 175.7 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/1.744, allocations: 11.98 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/1.744, allocations: 12 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.751e-05/1.744, allocations: 19.98 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/1.744, allocations: 49.69 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/1.744, allocations: 0 / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/1.744, allocations: 3.984 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.744, allocations: 0 / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/1.745, allocations: 397 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.739e-05/1.745, allocations: 26.58 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/1.745, allocations: 16.86 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/1.745, allocations: 0 / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/1.745, allocations: 99.38 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/1.745, allocations: 5.219 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004189/1.745, allocations: 97.59 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/1.746, allocations: 63.41 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/1.746, allocations: 122 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.854e-05/1.746, allocations: 33.7 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.746, allocations: 96.12 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/1.746, allocations: 19.7 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/1.746, allocations: 15.03 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.746, allocations: 322.8 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/1.746, allocations: 83.98 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/1.747, allocations: 120.6 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/1.747, allocations: 99.91 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.747, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001071/1.748, allocations: 277.3 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.953e-05/1.749, allocations: 101.1 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.749, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.749, allocations: 4.188 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-05/1.749, allocations: 11.94 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.749, allocations: 0 / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/1.749, allocations: 107.9 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/1.749, allocations: 17.23 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001563/1.75, allocations: 135.3 kB / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002094/1.75, allocations: 93.58 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/1.75, allocations: 7.906 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/1.75, allocations: 8.625 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.75, allocations: 4 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.75, allocations: 0 / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.75, allocations: 3.953 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/1.75, allocations: 162.2 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.75, allocations: 3.938 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/1.75, allocations: 9.484 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.75, allocations: 4 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.75, allocations: 0 / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.75, allocations: 4 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.75, allocations: 2.812 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/1.751, allocations: 124.9 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/1.751, allocations: 89 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/1.751, allocations: 0 / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.002e-05/1.751, allocations: 0 / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/1.751, allocations: 15.98 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/1.751, allocations: 4 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.7e-05/1.751, allocations: 98.08 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.715e-06/1.751, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004825/1.751, allocations: 55.88 kB / 1.106 GB, free: 10.33 MB / 0.7136 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * 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.0006283/1.752, allocations: 0.6719 MB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006046/1.753, allocations: 354 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.753, allocations: 1.125 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/1.753, allocations: 32 kB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/1.753, allocations: 19.03 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/1.754, allocations: 163.6 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/1.754, allocations: 0.7001 MB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.991e-05/1.754, allocations: 8.438 kB / 1.108 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/1.754, allocations: 27.42 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/1.754, allocations: 0 / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08705/1.841, allocations: 2.974 MB / 1.111 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/1.842, allocations: 149.5 kB / 1.111 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.049/4.891, allocations: 0 / 1.111 GB, free: 5.18 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)