Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001709/0.001709, allocations: 188.5 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 0.6366 GB, free: 8.535 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.0008894/0.0008894, allocations: 90.69 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.34, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7532/1.093, allocations: 139.1 MB / 1.124 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/1.094, allocations: 66.69 kB / 1.124 GB, free: 35.47 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01176/1.105, allocations: 4.067 MB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.877e-06/1.105, allocations: 4 kB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.1e-05/1.105, allocations: 0.8438 kB / 1.128 GB, free: 32.6 MB / 0.7292 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.0006542/1.106, allocations: 471.5 kB / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/1.106, allocations: 15.39 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/1.106, allocations: 39.12 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/1.106, allocations: 17.97 kB / 1.129 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/1.106, allocations: 174.3 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/1.107, allocations: 4 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/1.107, allocations: 23.44 kB / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/1.107, allocations: 57.03 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.107, allocations: 0.5625 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/1.107, allocations: 0 / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.107, allocations: 0 / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/1.107, allocations: 23.17 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/1.108, allocations: 417.8 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.743e-05/1.108, allocations: 30.84 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/1.108, allocations: 4.844 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/1.108, allocations: 104.9 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 2.835e-06/1.108, allocations: 0 / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003312/1.108, allocations: 139.9 kB / 1.13 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/1.108, allocations: 55.41 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/1.109, allocations: 125.7 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/1.109, allocations: 29.7 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/1.109, allocations: 99.56 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/1.109, allocations: 19.72 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/1.109, allocations: 4 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/1.109, allocations: 330.3 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/1.109, allocations: 85.64 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/1.109, allocations: 139.7 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/1.109, allocations: 168.1 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.109, allocations: 3.328 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005545/1.11, allocations: 366.3 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.353e-05/1.11, allocations: 105 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.11, allocations: 4.547 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/1.11, allocations: 0 / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.539e-05/1.11, allocations: 12.12 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/1.11, allocations: 4 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/1.111, allocations: 109.2 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/1.111, allocations: 19.33 kB / 1.131 GB, free: 29.42 MB / 0.7292 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 () * Number of clocked 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.0001332/1.111, allocations: 137.2 kB / 1.131 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/1.111, allocations: 9.406 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/1.111, allocations: 8.375 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.111, allocations: 4 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.111, allocations: 0.5625 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.111, allocations: 0 / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/1.111, allocations: 191.8 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.111, allocations: 0.6875 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/1.111, allocations: 3.516 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.111, allocations: 4 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/1.111, allocations: 5.219 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/1.111, allocations: 0.5 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/1.111, allocations: 0 / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/1.111, allocations: 139.8 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/1.111, allocations: 81.02 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/1.112, allocations: 12.36 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.357e-05/1.112, allocations: 4.438 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/1.112, allocations: 11.61 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/1.112, allocations: 8 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.731e-05/1.112, allocations: 97.19 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.112, allocations: 0 / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002782/1.112, allocations: 47.61 kB / 1.132 GB, free: 28.63 MB / 0.7292 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 () * Number of clocked 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.0004769/1.112, allocations: 0.6859 MB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004041/1.113, allocations: 367.3 kB / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.113, allocations: 0 / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/1.113, allocations: 39.45 kB / 1.133 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/1.113, allocations: 24.91 kB / 1.133 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/1.114, allocations: 1.357 MB / 1.135 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/1.114, allocations: 0.7041 MB / 1.135 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.519e-05/1.114, allocations: 7.953 kB / 1.135 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/1.114, allocations: 27.44 kB / 1.135 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.114, allocations: 0 / 1.135 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/1.13, allocations: 3.395 MB / 1.139 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/1.13, allocations: 173.5 kB / 1.139 GB, free: 23.28 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.816, allocations: 0 / 1.139 GB, free: 23.28 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)