Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.525/2.525, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001408/0.001407, allocations: 176.9 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.002118/0.002117, allocations: 85.75 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.171e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8519/0.852, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2491/1.101, allocations: 137.2 MB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/1.102, allocations: 67.97 kB / 1.097 GB, free: 3.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02031/1.122, allocations: 4.042 MB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/1.122, allocations: 0 / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.248e-05/1.122, allocations: 4 kB / 1.101 GB, free: 15.21 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.0005548/1.122, allocations: 455.4 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.123, allocations: 12.03 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/1.123, allocations: 17.11 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/1.123, allocations: 172.1 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/1.123, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/1.123, allocations: 12 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.89e-05/1.123, allocations: 23.98 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/1.123, allocations: 49.67 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.123, allocations: 3.938 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.123, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/1.123, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/1.124, allocations: 399.2 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.493e-05/1.124, allocations: 30.58 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/1.124, allocations: 16.86 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/1.124, allocations: 4 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/1.124, allocations: 95.39 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/1.124, allocations: 2.438 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003214/1.125, allocations: 105.5 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/1.125, allocations: 55.41 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/1.125, allocations: 125.9 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/1.125, allocations: 33.7 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/1.125, allocations: 92.14 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/1.125, allocations: 23.78 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/1.125, allocations: 11.98 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.125, allocations: 318.8 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/1.126, allocations: 79.92 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/1.126, allocations: 123.5 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/1.127, allocations: 109 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.127, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001203/1.128, allocations: 279 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/1.128, allocations: 97.72 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/1.128, allocations: 7.938 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.128, allocations: 3.984 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.119e-05/1.128, allocations: 4 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.128, allocations: 4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008512/1.129, allocations: 107.9 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/1.129, allocations: 26.14 kB / 1.104 GB, free: 12.12 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,and1.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.0001453/1.129, allocations: 120.7 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002428/1.129, allocations: 93.58 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/1.129, allocations: 15.83 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/1.129, allocations: 12.62 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.129, allocations: 0 / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.13, allocations: 6.266 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.13, allocations: 4 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/1.13, allocations: 158.2 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.13, allocations: 4 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/1.13, allocations: 4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.13, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/1.13, allocations: 7.984 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/1.13, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.13, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/1.13, allocations: 126.7 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/1.13, allocations: 89.02 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/1.13, allocations: 3.984 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/1.13, allocations: 0 / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/1.13, allocations: 15.98 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/1.13, allocations: 4 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.276e-05/1.13, allocations: 92.25 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.13, allocations: 0 / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004082/1.131, allocations: 55.88 kB / 1.105 GB, free: 11.24 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,and1.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.00062/1.131, allocations: 0.6704 MB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006393/1.132, allocations: 350.1 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.646e-06/1.132, allocations: 0 / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/1.132, allocations: 35.98 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/1.133, allocations: 22.89 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/1.133, allocations: 156.7 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/1.133, allocations: 0.7001 MB / 1.107 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.843e-05/1.134, allocations: 8.438 kB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/1.134, allocations: 27.42 kB / 1.107 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/1.134, allocations: 4 kB / 1.107 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/1.172, allocations: 2.971 MB / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/1.173, allocations: 140.7 kB / 1.11 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/3.435, allocations: 0 / 1.11 GB, free: 6.094 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)