Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.Shade.Validation.Shade_H,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.353/2.353, allocations: 251 MB / 265.9 MB, free: 11.69 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.001533/0.001533, allocations: 182 kB / 325.5 MB, free: 2.902 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.369/2.369, allocations: 205.4 MB / 0.5764 GB, free: 20.86 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.001168/0.001168, allocations: 94.48 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004651, allocations: 12.03 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2287, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/0.4558, allocations: 131.6 MB / 1.027 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.4561, allocations: 67.97 kB / 1.027 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004472/0.4606, allocations: 1.107 MB / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4607, allocations: 0 / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4607, allocations: 0 / 1.028 GB, free: 12.58 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.0005482/0.4612, allocations: 375 kB / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4613, allocations: 12.03 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.4614, allocations: 34.55 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.4614, allocations: 11.91 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.4616, allocations: 171 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4616, allocations: 0 / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.4617, allocations: 4 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.4619, allocations: 69.59 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4619, allocations: 0 / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.4619, allocations: 4 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4619, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.4621, allocations: 31.98 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.4628, allocations: 316.7 kB / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.4632, allocations: 86.47 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4633, allocations: 0 / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.4633, allocations: 30.56 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.4633, allocations: 0 / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0003854/0.4637, allocations: 85.77 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4638, allocations: 51.41 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4639, allocations: 124.7 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.464, allocations: 33.7 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.464, allocations: 92.08 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.4641, allocations: 7.891 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.4641, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4642, allocations: 314.8 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.4643, allocations: 23.98 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.4645, allocations: 33.7 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.678e-05/0.4646, allocations: 8.844 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4646, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002447/0.4648, allocations: 85.55 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4649, allocations: 4 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4649, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4649, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.465, allocations: 11.94 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.465, allocations: 11.88 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.4651, allocations: 8 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.4652, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaH.hys.y,shaH.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001103/0.4653, allocations: 117.8 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.4653, allocations: 7.984 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.4654, allocations: 7.906 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4654, allocations: 336 / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4654, allocations: 0 / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4654, allocations: 7.953 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.4656, allocations: 173.5 kB / 1.031 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4657, allocations: 3.984 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.4657, allocations: 8 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4658, allocations: 4 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.4658, allocations: 0 / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4658, allocations: 3.984 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4658, allocations: 0 / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.4661, allocations: 167.4 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.4661, allocations: 81.02 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.4662, allocations: 8 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.4663, allocations: 4 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.4664, allocations: 7.984 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.4664, allocations: 3.984 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.523e-05/0.4665, allocations: 99.27 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4665, allocations: 0 / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002908/0.4668, allocations: 8 kB / 1.031 GB, free: 9.559 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: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000596/0.4674, allocations: 0.6929 MB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.4676, allocations: 35.92 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4677, allocations: 8 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.4678, allocations: 23.92 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.468, allocations: 1.875 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.4692, allocations: 0.5153 MB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.4696, allocations: 0.6887 MB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.468e-05/0.4697, allocations: 7.984 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.4697, allocations: 19.5 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.4698, allocations: 0 / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.4903, allocations: 1.468 MB / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003693/0.4908, allocations: 180 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/2.98, allocations: 0 / 1.035 GB, free: 5.875 MB / 0.6823 GB