Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.338/1.338, allocations: 251.9 MB / 266.9 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 188.7 kB / 326.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 94.95 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004923, allocations: 11.31 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2828, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.4703, allocations: 131.4 MB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4706, allocations: 71.95 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00233/0.473, allocations: 0.8955 MB / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.473, allocations: 0 / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.473, allocations: 8 kB / 1.029 GB, free: 11.29 MB / 0.6823 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.0004721/0.4735, allocations: 371.1 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4735, allocations: 11.97 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.4736, allocations: 34.56 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.4736, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.4738, allocations: 174.9 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4738, allocations: 4 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.4738, allocations: 7.984 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.4739, allocations: 49.69 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.4739, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.474, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.474, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/0.474, allocations: 23.92 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.4746, allocations: 316.8 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.476e-05/0.4747, allocations: 38.58 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.4747, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.4749, allocations: 79.44 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.4749, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0002158/0.4751, allocations: 77.59 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.4752, allocations: 59.41 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.4753, allocations: 109.5 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4753, allocations: 33.7 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.4753, allocations: 84.12 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.4754, allocations: 19.81 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.4754, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.4755, allocations: 314.8 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/0.4756, allocations: 19.92 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.4756, allocations: 34.58 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.4756, allocations: 15.98 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4756, allocations: 0 / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001093/0.4758, allocations: 85.59 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4758, allocations: 4 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4758, allocations: 192 / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4758, allocations: 4 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.973e-05/0.4759, allocations: 7.938 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4759, allocations: 3.938 kB / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.979e-05/0.476, allocations: 19.92 kB / 1.031 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.476, allocations: 8.016 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 8.434e-05/0.4761, allocations: 121.8 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.4761, allocations: 4 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.4761, allocations: 12.36 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4761, allocations: 8 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4762, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4762, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.4763, allocations: 181.5 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4763, allocations: 4 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.4763, allocations: 0 / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4763, allocations: 4 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4764, allocations: 0 / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4764, allocations: 0 / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4764, allocations: 4 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.4765, allocations: 101 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.4766, allocations: 81.02 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.4766, allocations: 4 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.4767, allocations: 19.98 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.4767, allocations: 11.97 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.4768, allocations: 0 / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.4768, allocations: 91.27 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4768, allocations: 0 / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000177/0.477, allocations: 16 kB / 1.032 GB, free: 8.34 MB / 0.6823 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 ($whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Number of clocked 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.0004434/0.4774, allocations: 0.6443 MB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.4776, allocations: 35.98 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4776, allocations: 0 / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.4776, allocations: 23.94 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.4778, allocations: 17.66 kB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.4787, allocations: 0.7953 MB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.4789, allocations: 0.6887 MB / 1.034 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.479, allocations: 4 kB / 1.034 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.479, allocations: 15.44 kB / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.479, allocations: 0 / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.4907, allocations: 1.593 MB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.4909, allocations: 181.9 kB / 1.036 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.008, allocations: 6.609 kB / 1.036 GB, free: 4.309 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)