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.368/2.368, allocations: 248.5 MB / 261 MB, free: 5.984 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.001522/0.001521, allocations: 183 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001179/0.001178, allocations: 94.41 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.933e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2275, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8846/1.112, allocations: 131.5 MB / 1.019 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.113, allocations: 68.22 kB / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004657/1.117, allocations: 1.104 MB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/1.117, allocations: 4 kB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.117, allocations: 0 / 1.02 GB, free: 2.707 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000469/1.118, allocations: 353.4 kB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.118, allocations: 8.031 kB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/1.118, allocations: 41.17 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/1.118, allocations: 3.906 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/1.118, allocations: 182.9 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/1.118, allocations: 10.38 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/1.118, allocations: 4 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/1.118, allocations: 51.12 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.118, allocations: 0 / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.118, allocations: 0 / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.118, allocations: 0 / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.711e-05/1.119, allocations: 30.23 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/1.119, allocations: 305.6 kB / 1.021 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/1.12, allocations: 81.72 kB / 1.021 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/1.12, allocations: 15.69 kB / 1.021 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/1.12, allocations: 3.938 kB / 1.021 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/1.12, allocations: 38.12 kB / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/1.12, allocations: 0 / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002195/1.12, allocations: 55.67 kB / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/1.12, allocations: 51.41 kB / 1.021 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/1.12, allocations: 115.8 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/1.12, allocations: 25.7 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/1.12, allocations: 95.31 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/1.12, allocations: 7.969 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-06/1.12, allocations: 0 / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.12, allocations: 322.6 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/1.12, allocations: 7.25 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.886e-05/1.121, allocations: 28.47 kB / 1.022 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/1.121, allocations: 15.48 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.121, allocations: 0 / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001473/1.121, allocations: 60.64 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.121, allocations: 4 kB / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.121, allocations: 3.938 kB / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.121, allocations: 4 kB / 1.022 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/1.121, allocations: 7.984 kB / 1.022 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.121, allocations: 3.953 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/1.121, allocations: 19.92 kB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/1.121, allocations: 0 / 1.022 GB, free: 0.6797 MB / 0.6355 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 () * 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 8.56e-05/1.121, allocations: 108.9 kB / 1.022 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/1.121, allocations: 11.84 kB / 1.022 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/1.121, allocations: 4.031 kB / 1.022 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.121, allocations: 0 / 1.022 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.121, allocations: 0 / 1.022 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/1.121, allocations: 3.953 kB / 1.022 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/1.122, allocations: 176 kB / 1.022 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.122, allocations: 4 kB / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/1.122, allocations: 7.984 kB / 1.022 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.122, allocations: 4 kB / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.122, allocations: 3.875 kB / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.122, allocations: 0 / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.122, allocations: 0 / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/1.122, allocations: 146.6 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/1.122, allocations: 81.02 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/1.122, allocations: 4 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/1.122, allocations: 15.92 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/1.122, allocations: 11.67 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/1.122, allocations: 4.812 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001027/1.122, allocations: 98.48 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.122, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002821/1.123, allocations: 8 kB / 1.023 GB, free: 15.94 MB / 0.6511 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) * 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.0004942/1.123, allocations: 0.6792 MB / 1.023 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001572/1.123, allocations: 34.73 kB / 1.023 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.123, allocations: 0 / 1.023 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/1.123, allocations: 11.88 kB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/1.124, allocations: 6.656 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/1.124, allocations: 121.9 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/1.125, allocations: 0.6887 MB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.175e-05/1.125, allocations: 4 kB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/1.125, allocations: 14.8 kB / 1.024 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/1.125, allocations: 4 kB / 1.024 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/1.145, allocations: 1.453 MB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/1.145, allocations: 149.3 kB / 1.026 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.568, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.6511 GB