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.And3.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.And3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.9 MB / 266.8 MB, free: 11.04 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.001029/0.001029, allocations: 178.5 kB / 326.5 MB, free: 2.266 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.015/2.015, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008709/0.0008711, allocations: 81.56 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004543, allocations: 11.88 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2764, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.4589, allocations: 131.5 MB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.4592, allocations: 71.95 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003226/0.4625, allocations: 1.165 MB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4625, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.4625, allocations: 4 kB / 1.03 GB, free: 10.96 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005824/0.4631, allocations: 399.1 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4632, allocations: 12.03 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.564e-05/0.4632, allocations: 38.55 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.4633, allocations: 11.91 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.4634, allocations: 186.8 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4635, allocations: 4 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.4635, allocations: 4 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.4636, allocations: 61.67 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4636, allocations: 0 / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.4636, allocations: 3.984 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4637, allocations: 0 / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.889e-05/0.4637, allocations: 31.92 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.4644, allocations: 356.7 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.677e-05/0.4645, allocations: 50.59 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.4645, allocations: 0 / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.4647, allocations: 83.38 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.4647, allocations: 0 / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0002592/0.465, allocations: 109.5 kB / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.465, allocations: 59.36 kB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.4651, allocations: 125.3 kB / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4652, allocations: 29.69 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.4652, allocations: 88.3 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.4653, allocations: 19.8 kB / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.4653, allocations: 7.938 kB / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4654, allocations: 318.8 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.015e-05/0.4655, allocations: 23.92 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.4655, allocations: 57.67 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.4656, allocations: 12 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4656, allocations: 4 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001427/0.4657, allocations: 101.5 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4657, allocations: 7.938 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4658, allocations: 0 / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4658, allocations: 8.094 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.4658, allocations: 7.984 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.4659, allocations: 11.94 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.466, allocations: 23.84 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.466, allocations: 4 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.286e-05/0.4661, allocations: 121.8 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.4661, allocations: 19.88 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.4662, allocations: 8.375 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4662, allocations: 0 / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4662, allocations: 4 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4662, allocations: 0 / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.4664, allocations: 197.6 kB / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4664, allocations: 0 / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-06/0.4664, allocations: 0 / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4664, allocations: 0 / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.4664, allocations: 0 / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4664, allocations: 4 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4664, allocations: 7.938 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.4666, allocations: 121 kB / 1.032 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.4667, allocations: 85.09 kB / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.4667, allocations: 7.938 kB / 1.032 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4668, allocations: 16.64 kB / 1.032 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.4669, allocations: 23.97 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.4669, allocations: 4 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.969e-05/0.467, allocations: 95.27 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.467, allocations: 0 / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001851/0.4672, allocations: 16 kB / 1.033 GB, free: 7.699 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * 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.0005033/0.4677, allocations: 0.6658 MB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.4678, allocations: 63.92 kB / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4678, allocations: 0 / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.4679, allocations: 35.92 kB / 1.033 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.4681, allocations: 19.92 kB / 1.033 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.4693, allocations: 1.034 MB / 1.034 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.4696, allocations: 0.6926 MB / 1.035 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.425e-05/0.4697, allocations: 12.48 kB / 1.035 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.4698, allocations: 23.44 kB / 1.035 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of SimCode: time 4.5e-07/0.4698, allocations: 8 kB / 1.035 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.4829, allocations: 2.026 MB / 1.037 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.4832, allocations: 191.9 kB / 1.037 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.088, allocations: 0 / 1.037 GB, free: 2.902 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)