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.667/1.667, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001369/0.001369, allocations: 169 kB / 366.7 MB, free: 1.66 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.669/1.669, allocations: 205.2 MB / 0.626 GB, free: 7.125 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.0009886/0.0009887, allocations: 90.03 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.412e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7973, allocations: 116.3 MB / 0.9734 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/1.027, allocations: 138.3 MB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/1.027, allocations: 68.97 kB / 1.109 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008797/1.036, allocations: 2.9 MB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/1.036, allocations: 4.594 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.716e-06/1.036, allocations: 4 kB / 1.111 GB, free: 8.859 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.0004879/1.037, allocations: 414.5 kB / 1.112 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.037, allocations: 9.344 kB / 1.112 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/1.037, allocations: 8 kB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.037, allocations: 164.2 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/1.037, allocations: 6.375 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/1.037, allocations: 11.94 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.914e-05/1.037, allocations: 15.98 kB / 1.112 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.373e-05/1.037, allocations: 45.62 kB / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/1.037, allocations: 0 / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.037, allocations: 3.984 kB / 1.112 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/1.037, allocations: 4 kB / 1.112 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/1.038, allocations: 333.2 kB / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/1.038, allocations: 30.58 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/1.038, allocations: 12.86 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/1.038, allocations: 0 / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/1.038, allocations: 84.77 kB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/1.038, allocations: 0 / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002058/1.038, allocations: 85.58 kB / 1.113 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/1.038, allocations: 51.41 kB / 1.113 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/1.038, allocations: 117 kB / 1.113 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/1.038, allocations: 29.7 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/1.038, allocations: 92.23 kB / 1.113 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/1.038, allocations: 11.89 kB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/1.038, allocations: 4 kB / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.039, allocations: 322.8 kB / 1.113 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/1.039, allocations: 51.98 kB / 1.113 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/1.039, allocations: 85.09 kB / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/1.039, allocations: 71.94 kB / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.039, allocations: 0 / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005309/1.04, allocations: 204.7 kB / 1.114 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/1.04, allocations: 67.39 kB / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.04, allocations: 4 kB / 1.114 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.04, allocations: 0 / 1.114 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.439e-05/1.04, allocations: 4.125 kB / 1.114 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/1.04, allocations: 4 kB / 1.114 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/1.04, allocations: 71.94 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/1.04, allocations: 11.98 kB / 1.114 GB, free: 6.25 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.0001459/1.04, allocations: 120.9 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001106/1.041, allocations: 77.56 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/1.041, allocations: 7.906 kB / 1.114 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/1.041, allocations: 4.625 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/1.041, allocations: 4 kB / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.041, allocations: 0 / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.041, allocations: 4 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/1.041, allocations: 154.2 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.041, allocations: 0 / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/1.041, allocations: 4 kB / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.041, allocations: 0 / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.041, allocations: 0 / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.041, allocations: 3.375 kB / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.041, allocations: 0 / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/1.041, allocations: 119.5 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/1.041, allocations: 81.02 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/1.041, allocations: 0 / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/1.041, allocations: 0 / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/1.041, allocations: 11.92 kB / 1.114 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/1.041, allocations: 4 kB / 1.114 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.135e-05/1.041, allocations: 93.14 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.041, allocations: 0 / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002523/1.042, allocations: 32 kB / 1.114 GB, free: 5.461 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.0005254/1.042, allocations: 0.6611 MB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003012/1.042, allocations: 230.7 kB / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.042, allocations: 0 / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/1.042, allocations: 24 kB / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/1.043, allocations: 13.33 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/1.043, allocations: 132.8 kB / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/1.043, allocations: 0.6885 MB / 1.116 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.404e-05/1.043, allocations: 7.984 kB / 1.116 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/1.043, allocations: 17.41 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/1.043, allocations: 0 / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/1.066, allocations: 2.148 MB / 1.118 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/1.066, allocations: 136.2 kB / 1.118 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/2.653, allocations: 0 / 1.118 GB, free: 1.32 MB / 0.7136 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)