Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.208/2.208, allocations: 248.7 MB / 256.2 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.001469, allocations: 176.9 kB / 315.4 MB, free: 4.008 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.111/2.111, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001187, allocations: 98.39 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.608e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2052, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9456/1.151, allocations: 131.5 MB / 1.013 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.151, allocations: 72.2 kB / 1.013 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004924/1.156, allocations: 1.163 MB / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/1.156, allocations: 0 / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.156, allocations: 0 / 1.014 GB, free: 6.145 MB / 0.6355 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.0007254/1.157, allocations: 392.8 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.157, allocations: 8.031 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/1.157, allocations: 4 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/1.157, allocations: 186.8 kB / 1.014 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/1.157, allocations: 0 / 1.014 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/1.157, allocations: 4 kB / 1.014 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001349/1.157, allocations: 24.62 kB / 1.014 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/1.158, allocations: 59.92 kB / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.158, allocations: 0 / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.158, allocations: 0 / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.158, allocations: 4 kB / 1.014 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/1.158, allocations: 280.4 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/1.158, allocations: 41.62 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/1.158, allocations: 26.2 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/1.159, allocations: 7.984 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/1.159, allocations: 85.12 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/1.159, allocations: 0 / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002653/1.159, allocations: 76.44 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/1.159, allocations: 59.36 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/1.159, allocations: 123 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/1.159, allocations: 25.8 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/1.159, allocations: 94.77 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/1.159, allocations: 23.2 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/1.159, allocations: 0 / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.16, allocations: 318 kB / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/1.16, allocations: 19.06 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/1.16, allocations: 42.11 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/1.16, allocations: 17.44 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.16, allocations: 0 / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002104/1.16, allocations: 95.52 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.16, allocations: 4 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.16, allocations: 0 / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.16, allocations: 7.938 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/1.16, allocations: 7.812 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/1.16, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/1.16, allocations: 28.02 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/1.16, allocations: 4 kB / 1.016 GB, free: 4.039 MB / 0.6355 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete 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.0001014/1.161, allocations: 114.5 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002223/1.161, allocations: 86.59 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/1.161, allocations: 7.906 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/1.161, allocations: 12.05 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.161, allocations: 8 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.161, allocations: 7.891 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.161, allocations: 0 / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/1.161, allocations: 160.2 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/1.161, allocations: 192 / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/1.161, allocations: 11.97 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.161, allocations: 3.938 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/1.161, allocations: 3.438 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.161, allocations: 0 / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.161, allocations: 4 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/1.161, allocations: 117.8 kB / 1.016 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/1.162, allocations: 81.11 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/1.162, allocations: 0 / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/1.162, allocations: 19.97 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/1.162, allocations: 15.3 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/1.162, allocations: 4 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.397e-05/1.162, allocations: 99.86 kB / 1.016 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.162, allocations: 0 / 1.016 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002845/1.162, allocations: 16 kB / 1.016 GB, free: 3.25 MB / 0.6355 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.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * 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.000581/1.163, allocations: 0.6505 MB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002071/1.163, allocations: 62.12 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.163, allocations: 0 / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/1.163, allocations: 30.55 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/1.164, allocations: 19.92 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/1.164, allocations: 151 kB / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/1.164, allocations: 0.708 MB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.113e-05/1.165, allocations: 12.55 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/1.165, allocations: 21.06 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.593e-06/1.165, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/1.201, allocations: 1.707 MB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/1.201, allocations: 142.8 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.56, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB