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.714/2.714, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001553/0.001553, allocations: 191.4 kB / 370.8 MB, free: 10.88 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.193/2.193, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 98.14 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009856/0.0009851, allocations: 18.16 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2173, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9612/1.179, allocations: 138 MB / 1.113 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/1.179, allocations: 75.16 kB / 1.113 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01978/1.199, allocations: 4.059 MB / 1.117 GB, free: 31.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.604e-06/1.199, allocations: 3.938 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.277e-06/1.199, allocations: 0 / 1.117 GB, free: 31.31 MB / 0.698 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.0006092/1.199, allocations: 469.3 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.199, allocations: 15.8 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/1.199, allocations: 33.42 kB / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/1.2, allocations: 15.44 kB / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/1.2, allocations: 174.6 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/1.2, allocations: 10.22 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/1.2, allocations: 23.25 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/1.2, allocations: 53.19 kB / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/1.2, allocations: 0 / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/1.2, allocations: 2.156 kB / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/1.2, allocations: 3.812 kB / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/1.2, allocations: 21.09 kB / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/1.201, allocations: 415.9 kB / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.387e-05/1.201, allocations: 40.92 kB / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/1.201, allocations: 0 / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/1.201, allocations: 102.5 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.256e-06/1.201, allocations: 0 / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004165/1.202, allocations: 134.2 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/1.202, allocations: 63.3 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/1.202, allocations: 129.4 kB / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/1.202, allocations: 29.58 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/1.202, allocations: 102.1 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/1.202, allocations: 23.27 kB / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/1.202, allocations: 3.844 kB / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.202, allocations: 324 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/1.203, allocations: 88.33 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/1.203, allocations: 135.5 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/1.203, allocations: 163.4 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.203, allocations: 0 / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009004/1.204, allocations: 370.9 kB / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.155e-05/1.204, allocations: 98.5 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.204, allocations: 3.812 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.204, allocations: 3.844 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.167e-05/1.204, allocations: 3.938 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.204, allocations: 19.17 kB / 1.12 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008835/1.205, allocations: 107 kB / 1.12 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/1.205, allocations: 19.97 kB / 1.12 GB, free: 29.14 MB / 0.698 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 () * Number of clocked 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.0001909/1.206, allocations: 125.2 kB / 1.12 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/1.206, allocations: 9.172 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/1.206, allocations: 12.44 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.206, allocations: 0 / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.206, allocations: 5.688 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.206, allocations: 3.953 kB / 1.12 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/1.206, allocations: 192.6 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.206, allocations: 3.844 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/1.206, allocations: 3.188 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/1.206, allocations: 5.203 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.206, allocations: 7.75 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.206, allocations: 1.219 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.206, allocations: 0 / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/1.206, allocations: 141.8 kB / 1.121 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/1.206, allocations: 81.02 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/1.206, allocations: 5.5 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.391e-05/1.206, allocations: 4.578 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/1.206, allocations: 6.969 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/1.206, allocations: 9.328 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.192e-05/1.207, allocations: 96.02 kB / 1.121 GB, free: 28.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.207, allocations: 3.938 kB / 1.121 GB, free: 28.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004251/1.207, allocations: 53.39 kB / 1.121 GB, free: 28.55 MB / 0.698 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 () * Number of clocked 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.0006175/1.208, allocations: 0.6841 MB / 1.122 GB, free: 27.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007079/1.208, allocations: 360.1 kB / 1.122 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.208, allocations: 4.219 kB / 1.122 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/1.209, allocations: 40.44 kB / 1.122 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/1.209, allocations: 22.81 kB / 1.122 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/1.21, allocations: 1.353 MB / 1.123 GB, free: 26.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/1.21, allocations: 0.6956 MB / 1.124 GB, free: 25.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.114e-05/1.21, allocations: 15.17 kB / 1.124 GB, free: 25.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/1.21, allocations: 23.88 kB / 1.124 GB, free: 25.73 MB / 0.698 GB Notification: Performance of SimCode: time 1.753e-06/1.21, allocations: 0 / 1.124 GB, free: 25.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/1.232, allocations: 3.403 MB / 1.127 GB, free: 25.39 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/1.232, allocations: 185.7 kB / 1.127 GB, free: 25.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.721, allocations: 0 / 1.127 GB, free: 25.14 MB / 0.698 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)