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.And.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.And,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.679/1.679, allocations: 285.4 MB / 298 MB, free: 5.973 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.001022/0.001022, allocations: 184.8 kB / 366.4 MB, free: 2.086 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.427/1.427, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008032/0.000803, allocations: 93.34 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.588e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7277, allocations: 115.3 MB / 0.971 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.9223, allocations: 138 MB / 1.106 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.9226, allocations: 67.95 kB / 1.106 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008388/0.931, allocations: 2.917 MB / 1.109 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.044e-06/0.931, allocations: 0 / 1.109 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.9311, allocations: 0 / 1.109 GB, free: 10.81 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.0004412/0.9315, allocations: 405.8 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.9316, allocations: 15.97 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.9316, allocations: 42.53 kB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.9317, allocations: 4 kB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.9318, allocations: 174.6 kB / 1.109 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.9318, allocations: 4 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.9319, allocations: 16 kB / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.932, allocations: 41.69 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.932, allocations: 0 / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.932, allocations: 3.984 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.932, allocations: 0 / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.394e-05/0.9321, allocations: 23.94 kB / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.9326, allocations: 352.7 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.447e-05/0.9327, allocations: 30.58 kB / 1.11 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.9327, allocations: 16.05 kB / 1.11 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.9327, allocations: 4 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.9329, allocations: 83.41 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.9329, allocations: 0 / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002139/0.9331, allocations: 87.69 kB / 1.11 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.9332, allocations: 55.41 kB / 1.11 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.436e-05/0.9333, allocations: 109.1 kB / 1.11 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.9333, allocations: 37.69 kB / 1.11 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.9334, allocations: 96.22 kB / 1.11 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.9334, allocations: 11.91 kB / 1.11 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/0.9334, allocations: 8 kB / 1.11 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9336, allocations: 318.8 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.9337, allocations: 59.94 kB / 1.111 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.9338, allocations: 88.28 kB / 1.111 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.934, allocations: 117.3 kB / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.934, allocations: 0 / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004041/0.9344, allocations: 252.8 kB / 1.111 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.9345, allocations: 71.39 kB / 1.111 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9345, allocations: 0 / 1.111 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.9345, allocations: 0 / 1.111 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.283e-05/0.9345, allocations: 7.938 kB / 1.111 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.9346, allocations: 4.109 kB / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.9349, allocations: 77.56 kB / 1.111 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.9349, allocations: 12 kB / 1.111 GB, free: 7.953 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,and1.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 9.832e-05/0.935, allocations: 118.9 kB / 1.111 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.9351, allocations: 7.906 kB / 1.111 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.9351, allocations: 8.625 kB / 1.111 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.9351, allocations: 0 / 1.111 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9351, allocations: 1.875 kB / 1.111 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9351, allocations: 4 kB / 1.111 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.9353, allocations: 177.6 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9353, allocations: 4 kB / 1.112 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.157e-05/0.9353, allocations: 8 kB / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.9353, allocations: 0 / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.9353, allocations: 0 / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.9354, allocations: 3.938 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9354, allocations: 4.812 kB / 1.112 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.9355, allocations: 105 kB / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.9356, allocations: 81.11 kB / 1.112 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.9356, allocations: 4 kB / 1.112 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.9356, allocations: 0 / 1.112 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.9357, allocations: 15.92 kB / 1.112 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.9357, allocations: 5.375 kB / 1.112 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.9357, allocations: 94.83 kB / 1.112 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9357, allocations: 0 / 1.112 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002342/0.936, allocations: 32 kB / 1.112 GB, free: 7.203 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,and1.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.0004543/0.9364, allocations: 0.6669 MB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.9368, allocations: 237.3 kB / 1.113 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9368, allocations: 4 kB / 1.113 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.9368, allocations: 27.94 kB / 1.113 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.937, allocations: 12.23 kB / 1.113 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.9374, allocations: 145.6 kB / 1.113 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.9377, allocations: 0.6887 MB / 1.114 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.9377, allocations: 7.984 kB / 1.114 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.9377, allocations: 19.44 kB / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of SimCode: time 3.2e-07/0.9377, allocations: 0 / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.951, allocations: 2.558 MB / 1.116 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.9513, allocations: 165.5 kB / 1.116 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.584, allocations: 0 / 1.116 GB, free: 2.738 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)