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.Or.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.Or,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.987/2.987, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.002263/0.002263, allocations: 180.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.269/3.269, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.00129/0.00129, allocations: 93.44 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.754e-05/7.787e-05, allocations: 4 kB / 0.8519 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392/1.392, allocations: 115.3 MB / 0.9645 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3575/1.75, allocations: 137.3 MB / 1.099 GB, free: 2.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004588/1.75, allocations: 69.05 kB / 1.099 GB, free: 2.434 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01393/1.764, allocations: 2.903 MB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.628e-06/1.764, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.743e-05/1.764, allocations: 4 kB / 1.101 GB, free: 15.6 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008781/1.765, allocations: 413.8 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001037/1.765, allocations: 12.03 kB / 1.102 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/1.766, allocations: 9.031 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/1.766, allocations: 172 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/1.766, allocations: 0 / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/1.766, allocations: 8 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001471/1.766, allocations: 15.98 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/1.766, allocations: 41.69 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/1.766, allocations: 0 / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/1.767, allocations: 0 / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.767, allocations: 0 / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009521/1.768, allocations: 337.2 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/1.768, allocations: 38.5 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/1.768, allocations: 12.86 kB / 1.103 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/1.768, allocations: 1.406 kB / 1.103 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/1.768, allocations: 79.47 kB / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.795e-06/1.768, allocations: 0 / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004174/1.769, allocations: 87.62 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/1.769, allocations: 51.41 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/1.769, allocations: 118 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/1.769, allocations: 29.7 kB / 1.103 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.769, allocations: 96.22 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/1.769, allocations: 7.906 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/1.769, allocations: 4 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002386/1.769, allocations: 322.8 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/1.77, allocations: 51.98 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/1.77, allocations: 82.78 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/1.771, allocations: 77.28 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.771, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001053/1.772, allocations: 197.4 kB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/1.772, allocations: 71.39 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.772, allocations: 0 / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/1.772, allocations: 3 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/1.772, allocations: 7.938 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/1.772, allocations: 128 / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006565/1.773, allocations: 75.94 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/1.773, allocations: 11.98 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0002082/1.773, allocations: 117.6 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00022/1.773, allocations: 81.56 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/1.773, allocations: 7.844 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/1.773, allocations: 12.62 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.773, allocations: 0 / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.773, allocations: 0 / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.773, allocations: 0 / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/1.774, allocations: 155.6 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.774, allocations: 4 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.545e-05/1.774, allocations: 4 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.774, allocations: 0 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/1.774, allocations: 0 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/1.774, allocations: 4 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.774, allocations: 0 / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/1.774, allocations: 107.9 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/1.774, allocations: 85.02 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/1.774, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/1.774, allocations: 5.5 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/1.774, allocations: 7.922 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/1.774, allocations: 4 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.882e-05/1.774, allocations: 96.05 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/1.774, allocations: 0 / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004174/1.775, allocations: 32 kB / 1.105 GB, free: 12.19 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008416/1.776, allocations: 0.6578 MB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005089/1.776, allocations: 230.7 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.776, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.182e-05/1.776, allocations: 23.94 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/1.777, allocations: 21.08 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/1.777, allocations: 132.6 kB / 1.106 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/1.778, allocations: 0.6885 MB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.38e-05/1.778, allocations: 7.984 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/1.778, allocations: 19.44 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/1.778, allocations: 1.219 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.067/2.846, allocations: 2.148 MB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004025/2.846, allocations: 148.8 kB / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/6.364, allocations: 4 kB / 1.108 GB, free: 8.039 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)