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.251/2.251, allocations: 248.5 MB / 261.1 MB, free: 5.98 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.00141/0.00141, allocations: 174.2 kB / 320.4 MB, free: 15.34 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.1 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.001162/0.001162, allocations: 100.7 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.888e-05/4.911e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2272, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8908/1.118, allocations: 131.5 MB / 1.019 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/1.118, allocations: 67.53 kB / 1.019 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004711/1.123, allocations: 1.102 MB / 1.02 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/1.123, allocations: 0 / 1.02 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.786e-06/1.123, allocations: 0 / 1.02 GB, free: 2.352 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.0005085/1.124, allocations: 361.4 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/1.124, allocations: 8.031 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/1.124, allocations: 37.69 kB / 1.021 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/1.124, allocations: 11.84 kB / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/1.124, allocations: 178.9 kB / 1.021 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.124, allocations: 0 / 1.021 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/1.124, allocations: 7.188 kB / 1.021 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/1.124, allocations: 55.8 kB / 1.021 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.124, allocations: 0 / 1.021 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.124, allocations: 0 / 1.021 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/1.124, allocations: 3.984 kB / 1.021 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.494e-05/1.125, allocations: 22 kB / 1.021 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/1.125, allocations: 307.6 kB / 1.021 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/1.126, allocations: 84.89 kB / 1.021 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/1.126, allocations: 16.73 kB / 1.021 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/1.126, allocations: 0 / 1.021 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/1.126, allocations: 34.5 kB / 1.021 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/1.126, allocations: 4 kB / 1.021 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000255/1.126, allocations: 56.83 kB / 1.021 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.126, allocations: 51.41 kB / 1.021 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/1.126, allocations: 115.6 kB / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/1.126, allocations: 29.02 kB / 1.022 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/1.126, allocations: 87.45 kB / 1.022 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/1.126, allocations: 7.469 kB / 1.022 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/1.126, allocations: 0 / 1.022 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.127, allocations: 322.5 kB / 1.022 GB, free: 480 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/1.127, allocations: 11.25 kB / 1.022 GB, free: 472 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.071e-05/1.127, allocations: 28.41 kB / 1.022 GB, free: 444 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/1.127, allocations: 7.984 kB / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.127, allocations: 0 / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001464/1.127, allocations: 60.11 kB / 1.022 GB, free: 380 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.127, allocations: 7.984 kB / 1.022 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.127, allocations: 3.938 kB / 1.022 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.127, allocations: 0 / 1.022 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/1.127, allocations: 8 kB / 1.022 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.127, allocations: 7.984 kB / 1.022 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/1.127, allocations: 15.92 kB / 1.022 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/1.127, allocations: 0 / 1.022 GB, free: 336 kB / 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.shaH.hys.y,shaH.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 9.368e-05/1.127, allocations: 112.1 kB / 1.022 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/1.127, allocations: 3.906 kB / 1.022 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/1.127, allocations: 11.47 kB / 1.022 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.127, allocations: 0 / 1.022 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.128, allocations: 7.938 kB / 1.022 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.128, allocations: 7.938 kB / 1.022 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/1.128, allocations: 169.5 kB / 1.022 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.128, allocations: 0 / 1.022 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/1.128, allocations: 7.984 kB / 1.022 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.128, allocations: 0 / 1.022 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/1.128, allocations: 4 kB / 1.022 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.128, allocations: 0 / 1.022 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.128, allocations: 0 / 1.022 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/1.128, allocations: 158.5 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/1.128, allocations: 81.02 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/1.128, allocations: 3.984 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/1.128, allocations: 8.875 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/1.129, allocations: 11.92 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/1.129, allocations: 0 / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.493e-05/1.129, allocations: 99.11 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.129, allocations: 4 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002855/1.129, allocations: 8 kB / 1.023 GB, free: 15.58 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0005661/1.13, allocations: 0.6767 MB / 1.023 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000162/1.13, allocations: 30.86 kB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.13, allocations: 0 / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/1.13, allocations: 19 kB / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/1.13, allocations: 4 kB / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/1.131, allocations: 115.5 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/1.131, allocations: 0.6893 MB / 1.024 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.637e-05/1.131, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/1.131, allocations: 18.92 kB / 1.024 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.131, allocations: 4 kB / 1.024 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/1.151, allocations: 1.452 MB / 1.026 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000372/1.152, allocations: 158.6 kB / 1.026 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.453, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.6511 GB