Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.259/2.259, allocations: 251 MB / 265.9 MB, free: 11.68 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.001785/0.001785, allocations: 183.5 kB / 325.5 MB, free: 2.891 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.361/2.361, 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.00154/0.00154, allocations: 107.8 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.000511, allocations: 11.25 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2171, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2279/0.4451, allocations: 131.6 MB / 1.027 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.4455, allocations: 63.97 kB / 1.027 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004514/0.45, allocations: 1.118 MB / 1.028 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4501, allocations: 4 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4501, allocations: 0 / 1.028 GB, free: 12.52 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.0005325/0.4506, allocations: 371 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4507, allocations: 12.03 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.4508, allocations: 34.56 kB / 1.029 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.4508, allocations: 7.906 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.451, allocations: 167 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.451, allocations: 8 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.451, allocations: 4 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.4512, allocations: 57.67 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4513, allocations: 0 / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.4513, allocations: 3.938 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4513, allocations: 0 / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.4515, allocations: 35.97 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.4521, allocations: 312.7 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.4526, allocations: 86.47 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.4527, allocations: 0 / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4527, allocations: 34.56 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.4527, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000383/0.4531, allocations: 85.77 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.4532, allocations: 51.41 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4533, allocations: 116.8 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.4533, allocations: 29.7 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.4534, allocations: 96.08 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.4535, allocations: 11.83 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.4535, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4536, allocations: 314.8 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.4537, allocations: 19.98 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.4538, allocations: 29.7 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.654e-05/0.4539, allocations: 12.86 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.454, allocations: 4.031 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002368/0.4542, allocations: 77.8 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4542, allocations: 4 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4543, allocations: 0 / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4543, allocations: 7.969 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.4544, allocations: 12 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4544, allocations: 7.891 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4545, allocations: 15.98 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.4545, allocations: 0 / 1.03 GB, free: 10.3 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.shaT.hys.y,shaT.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.0001131/0.4547, allocations: 113.8 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.4547, allocations: 4 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.4548, allocations: 7.891 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4548, allocations: 0 / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4548, allocations: 0 / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4548, allocations: 7.953 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.455, allocations: 181.5 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4551, allocations: 0 / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.4551, allocations: 8 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4552, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4552, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4552, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4552, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.4555, allocations: 167.4 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.4555, allocations: 85 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.4556, allocations: 8 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.4557, allocations: 8 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.4558, allocations: 7.984 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4558, allocations: 3.984 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.885e-05/0.4559, allocations: 95.66 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4559, allocations: 0 / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003295/0.4562, allocations: 16 kB / 1.031 GB, free: 9.508 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0006117/0.4569, allocations: 0.689 MB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.4571, allocations: 39.92 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.4571, allocations: 4 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.73e-05/0.4572, allocations: 23.92 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.4575, allocations: 5.875 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.4588, allocations: 0.5187 MB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4591, allocations: 0.6926 MB / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.569e-05/0.4592, allocations: 4 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.4593, allocations: 19.42 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/0.4593, allocations: 0 / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.4804, allocations: 1.455 MB / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/0.4807, allocations: 169.7 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/2.99, allocations: 0 / 1.035 GB, free: 5.84 MB / 0.6823 GB