Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.899/1.899, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001301/0.001301, allocations: 183.9 kB / 377.1 MB, free: 1.551 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.644/1.644, allocations: 205.4 MB / 0.6366 GB, free: 8.574 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.000958/0.0009582, allocations: 92.16 kB / 0.7509 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 15.98 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2883, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7968/1.085, allocations: 139.1 MB / 1.124 GB, free: 35.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.086, allocations: 71.67 kB / 1.124 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007705/1.093, allocations: 2.926 MB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/1.093, allocations: 0 / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.093, allocations: 0 / 1.127 GB, free: 33.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004423/1.094, allocations: 422.8 kB / 1.128 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.094, allocations: 12.02 kB / 1.128 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/1.094, allocations: 34.56 kB / 1.128 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/1.094, allocations: 10.53 kB / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.514e-05/1.094, allocations: 170.4 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/1.094, allocations: 4 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/1.094, allocations: 15.44 kB / 1.128 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/1.094, allocations: 49.11 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.094, allocations: 3.938 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/1.094, allocations: 4 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.094, allocations: 0 / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.833e-05/1.094, allocations: 16.31 kB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/1.095, allocations: 347.9 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/1.095, allocations: 36.3 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/1.095, allocations: 0 / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/1.095, allocations: 92.75 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/1.095, allocations: 0 / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002305/1.095, allocations: 96.5 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/1.095, allocations: 55.41 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.168e-05/1.095, allocations: 117.7 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/1.095, allocations: 33.7 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/1.096, allocations: 88.33 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/1.096, allocations: 23.31 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/1.096, allocations: 8 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/1.096, allocations: 314.8 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/1.096, allocations: 62.36 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/1.096, allocations: 91.86 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/1.096, allocations: 110.8 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.096, allocations: 0.5625 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003499/1.096, allocations: 261.6 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/1.096, allocations: 67.66 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.096, allocations: 4 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.096, allocations: 0.5625 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.246e-05/1.096, allocations: 8.625 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.096, allocations: 4.125 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/1.097, allocations: 72.88 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/1.097, allocations: 15.42 kB / 1.13 GB, free: 30.72 MB / 0.7292 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 () * Number of clocked 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 8.989e-05/1.097, allocations: 123.3 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/1.097, allocations: 12.45 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/1.097, allocations: 8.375 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.097, allocations: 5.219 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.097, allocations: 0.5625 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.097, allocations: 0 / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/1.097, allocations: 176 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.097, allocations: 7.938 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/1.097, allocations: 0.875 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/1.097, allocations: 0 / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.097, allocations: 0 / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.097, allocations: 7.938 kB / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.097, allocations: 4.547 kB / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/1.097, allocations: 108.1 kB / 1.13 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/1.097, allocations: 85.02 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/1.097, allocations: 4.688 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.835e-05/1.097, allocations: 0 / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/1.098, allocations: 11.47 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/1.098, allocations: 4 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.067e-05/1.098, allocations: 95.91 kB / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.098, allocations: 0 / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002339/1.098, allocations: 35.94 kB / 1.13 GB, free: 29.99 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked 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.0003905/1.098, allocations: 0.6585 MB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002786/1.099, allocations: 248.6 kB / 1.131 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.099, allocations: 0 / 1.131 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/1.099, allocations: 28.58 kB / 1.131 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/1.099, allocations: 19.81 kB / 1.131 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/1.099, allocations: 0.9906 MB / 1.132 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/1.099, allocations: 0.6924 MB / 1.133 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.378e-05/1.099, allocations: 4 kB / 1.133 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/1.1, allocations: 23.44 kB / 1.133 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.1, allocations: 1.031 kB / 1.133 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/1.116, allocations: 2.522 MB / 1.135 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/1.116, allocations: 173.8 kB / 1.136 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.874, allocations: 7.938 kB / 1.136 GB, free: 25.66 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)