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 2.821/2.821, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.002464/0.002464, allocations: 172.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.534/3.534, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.001401/0.001401, allocations: 97.77 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.697e-05/4.693e-05, allocations: 4 kB / 0.8518 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323/1.323, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/1.696, allocations: 137.4 MB / 1.099 GB, free: 2.328 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004301/1.697, allocations: 69.28 kB / 1.099 GB, free: 2.262 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02283/1.72, allocations: 4.036 MB / 1.103 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.496e-06/1.72, allocations: 0 / 1.103 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.446e-05/1.72, allocations: 4 kB / 1.103 GB, free: 14.29 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.0009095/1.721, allocations: 463.4 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 9.224e-05/1.721, allocations: 8.031 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/1.721, allocations: 16.94 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/1.721, allocations: 172.1 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/1.721, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/1.721, allocations: 15.98 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001395/1.721, allocations: 20 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/1.722, allocations: 45.69 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/1.722, allocations: 0 / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/1.722, allocations: 4 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/1.722, allocations: 0 / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/1.723, allocations: 401 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/1.723, allocations: 26.58 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/1.723, allocations: 16.86 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/1.723, allocations: 8 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000301/1.723, allocations: 95.39 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.605e-06/1.723, allocations: 0 / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004723/1.724, allocations: 103 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/1.724, allocations: 55.41 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/1.724, allocations: 129.4 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/1.724, allocations: 29.7 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/1.724, allocations: 96.14 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/1.724, allocations: 27.77 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/1.725, allocations: 4 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003047/1.725, allocations: 326.7 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/1.725, allocations: 75.98 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/1.726, allocations: 122.5 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008162/1.726, allocations: 100.7 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.726, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001382/1.728, allocations: 286.2 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/1.728, allocations: 97.09 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/1.728, allocations: 9.859 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/1.728, allocations: 0 / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/1.728, allocations: 9.25 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.728, allocations: 4 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008968/1.729, allocations: 108.1 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.013e-05/1.729, allocations: 19.98 kB / 1.105 GB, free: 11.21 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.000251/1.729, allocations: 120.9 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000291/1.73, allocations: 93.58 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/1.73, allocations: 11.89 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.973e-05/1.73, allocations: 12.62 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.73, allocations: 2.906 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.73, allocations: 4 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.73, allocations: 3.953 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/1.73, allocations: 162.1 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.73, allocations: 4 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/1.73, allocations: 2.438 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.73, allocations: 0 / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/1.73, allocations: 7.984 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.731, allocations: 0 / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.731, allocations: 2.891 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/1.731, allocations: 128.9 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/1.731, allocations: 85.02 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/1.731, allocations: 3.984 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.567e-05/1.731, allocations: 4 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.731, allocations: 11.98 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/1.731, allocations: 4 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001204/1.731, allocations: 93.52 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.51e-07/1.731, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005591/1.732, allocations: 55.88 kB / 1.106 GB, free: 10.33 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.001167/1.733, allocations: 0.677 MB / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008368/1.734, allocations: 350.1 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.734, allocations: 0 / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/1.734, allocations: 36.36 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/1.735, allocations: 20.67 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/1.735, allocations: 159.9 kB / 1.107 GB, free: 9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/1.736, allocations: 0.704 MB / 1.108 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.031e-05/1.736, allocations: 8.438 kB / 1.108 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/1.736, allocations: 27.42 kB / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of SimCode: time 1.061e-06/1.736, allocations: 0 / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/2.745, allocations: 2.968 MB / 1.111 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004676/2.745, allocations: 147 kB / 1.111 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.616/6.361, allocations: 0 / 1.111 GB, free: 5.176 MB / 0.7136 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)