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.Or3.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.Or3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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 1.688/1.688, allocations: 285.4 MB / 298 MB, free: 5.977 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.001156/0.001156, allocations: 176.8 kB / 366.4 MB, free: 2.09 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.824/1.824, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0009201/0.0009201, allocations: 89.16 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.173e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.7989, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/1.015, allocations: 138 MB / 1.106 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.015, allocations: 73.39 kB / 1.106 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01346/1.029, allocations: 4.056 MB / 1.11 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.984e-06/1.029, allocations: 0 / 1.11 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.029, allocations: 0 / 1.11 GB, free: 9.672 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.0005306/1.03, allocations: 455.5 kB / 1.11 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.03, allocations: 12.03 kB / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.564e-05/1.03, allocations: 41.64 kB / 1.11 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/1.03, allocations: 15.91 kB / 1.11 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/1.03, allocations: 175 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/1.03, allocations: 15.94 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/1.03, allocations: 15.98 kB / 1.111 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/1.03, allocations: 49.69 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/1.03, allocations: 0 / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/1.03, allocations: 4 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.03, allocations: 0 / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.095e-05/1.03, allocations: 23.98 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/1.031, allocations: 420.4 kB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/1.031, allocations: 34.56 kB / 1.111 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/1.031, allocations: 16.86 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/1.031, allocations: 0 / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/1.031, allocations: 99.39 kB / 1.111 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/1.031, allocations: 4 kB / 1.111 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002465/1.031, allocations: 109.6 kB / 1.111 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/1.031, allocations: 59.34 kB / 1.111 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/1.032, allocations: 125.6 kB / 1.111 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/1.032, allocations: 37.69 kB / 1.111 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/1.032, allocations: 92.14 kB / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/1.032, allocations: 23.78 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/1.032, allocations: 15.22 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.032, allocations: 326.8 kB / 1.112 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/1.032, allocations: 83.98 kB / 1.112 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/1.032, allocations: 130 kB / 1.112 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/1.033, allocations: 163.4 kB / 1.112 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.033, allocations: 4 kB / 1.112 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006153/1.033, allocations: 362.4 kB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.662e-05/1.033, allocations: 101.1 kB / 1.113 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.033, allocations: 0 / 1.113 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.033, allocations: 4 kB / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.58e-05/1.033, allocations: 4.188 kB / 1.113 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.033, allocations: 7.953 kB / 1.113 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/1.034, allocations: 107.9 kB / 1.113 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/1.034, allocations: 23.92 kB / 1.113 GB, free: 6.27 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,or1.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.0001081/1.034, allocations: 118.9 kB / 1.113 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/1.034, allocations: 15.89 kB / 1.113 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/1.034, allocations: 12.62 kB / 1.113 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.034, allocations: 1.438 kB / 1.113 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.034, allocations: 0 / 1.113 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.034, allocations: 3.953 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/1.034, allocations: 189.6 kB / 1.113 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.034, allocations: 0 / 1.113 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/1.034, allocations: 4 kB / 1.113 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.034, allocations: 0 / 1.113 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/1.034, allocations: 3.984 kB / 1.113 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.034, allocations: 7.938 kB / 1.113 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.034, allocations: 4 kB / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/1.035, allocations: 136.2 kB / 1.113 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/1.035, allocations: 88.95 kB / 1.113 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/1.035, allocations: 0 / 1.113 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/1.035, allocations: 4 kB / 1.113 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/1.035, allocations: 11.98 kB / 1.113 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.035, allocations: 7.984 kB / 1.113 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.83e-05/1.035, allocations: 100.7 kB / 1.114 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.035, allocations: 0 / 1.114 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002601/1.035, allocations: 59.86 kB / 1.114 GB, free: 5.43 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,or1.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.0005405/1.036, allocations: 0.6787 MB / 1.114 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004943/1.036, allocations: 361.6 kB / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.036, allocations: 0 / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.363e-05/1.036, allocations: 39.98 kB / 1.115 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/1.036, allocations: 20.97 kB / 1.115 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/1.037, allocations: 162 kB / 1.115 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/1.037, allocations: 0.7082 MB / 1.116 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.383e-05/1.037, allocations: 4.438 kB / 1.116 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/1.037, allocations: 31.42 kB / 1.116 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/1.037, allocations: 0 / 1.116 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/1.056, allocations: 3.436 MB / 1.119 GB, free: 136 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/1.056, allocations: 159.2 kB / 1.119 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.681, allocations: 0.7656 kB / 1.119 GB, free: 15.91 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)