Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.158/2.158, allocations: 251 MB / 265.9 MB, free: 11.7 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.001549/0.001549, allocations: 180 kB / 325.5 MB, free: 2.91 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.402/2.402, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001089/0.001089, allocations: 99.66 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005212/0.0005213, allocations: 13.56 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2107, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.22/0.4307, allocations: 131.3 MB / 1.027 GB, free: 14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.431, allocations: 71.95 kB / 1.027 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005022/0.4361, allocations: 1.153 MB / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4361, allocations: 0 / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.4362, allocations: 4 kB / 1.028 GB, free: 12.77 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.0007905/0.437, allocations: 415 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.437, allocations: 8.031 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.4371, allocations: 38.56 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.4372, allocations: 15.86 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.4373, allocations: 171 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4374, allocations: 0 / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.4374, allocations: 8 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.4376, allocations: 61.61 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4376, allocations: 0 / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4376, allocations: 3.984 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4377, allocations: 4 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.4378, allocations: 31.98 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009034/0.4387, allocations: 352.7 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.4389, allocations: 50.56 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.4389, allocations: 0 / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.4391, allocations: 83.55 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.4392, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003822/0.4395, allocations: 117.8 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.4396, allocations: 63.39 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.4398, allocations: 124.9 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.4398, allocations: 33.64 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.4399, allocations: 88.14 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.4399, allocations: 19.8 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.4399, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4401, allocations: 318.8 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.4402, allocations: 23.98 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.4403, allocations: 47.42 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.876e-05/0.4404, allocations: 23.94 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4404, allocations: 3.938 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002331/0.4406, allocations: 97.52 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4407, allocations: 4 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4407, allocations: 4.094 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4407, allocations: 4 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.4408, allocations: 15.94 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4408, allocations: 3.953 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.4411, allocations: 31.88 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4411, allocations: 4 kB / 1.03 GB, free: 10.3 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 0.0001214/0.4412, allocations: 120.8 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.4413, allocations: 7.906 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.4413, allocations: 20.31 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4413, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4414, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.619e-06/0.4414, allocations: 7.938 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.4416, allocations: 185.6 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4416, allocations: 0 / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.4417, allocations: 3.984 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.4417, allocations: 4 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4417, allocations: 0 / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4417, allocations: 4 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4417, allocations: 0 / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.442, allocations: 129.8 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.4421, allocations: 81.11 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.4421, allocations: 0 / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.4423, allocations: 31.97 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.4424, allocations: 7.984 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4424, allocations: 7.984 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.584e-05/0.4425, allocations: 99.27 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4425, allocations: 0 / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002685/0.4428, allocations: 20 kB / 1.031 GB, free: 9.5 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.0005975/0.4434, allocations: 0.6571 MB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.4437, allocations: 63.86 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4437, allocations: 3.938 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.4438, allocations: 31.98 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.4442, allocations: 24.73 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.4456, allocations: 1.035 MB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.4459, allocations: 0.7004 MB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.721e-05/0.446, allocations: 4.562 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.4461, allocations: 31.42 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/0.4461, allocations: 0 / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.4692, allocations: 2.029 MB / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003273/0.4696, allocations: 182.1 kB / 1.036 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/2.835, allocations: 0 / 1.036 GB, free: 4.691 MB / 0.6823 GB