Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.3 MB / 261.8 MB, free: 5.965 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.0009223/0.0009223, allocations: 176.9 kB / 321.3 MB, free: 14.64 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.626/1.626, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009354/0.0009356, allocations: 82.55 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.982e-05, allocations: 8 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2521, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8533/1.105, allocations: 131.7 MB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.106, allocations: 67.97 kB / 1.021 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003394/1.109, allocations: 1.103 MB / 1.022 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.282e-06/1.109, allocations: 0 / 1.022 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.109, allocations: 7.312 kB / 1.022 GB, free: 2.051 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.0003782/1.11, allocations: 353.9 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.11, allocations: 12.03 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/1.11, allocations: 34.56 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/1.11, allocations: 7.906 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/1.11, allocations: 177.7 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/1.11, allocations: 0 / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/1.11, allocations: 4 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/1.11, allocations: 56.44 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.11, allocations: 0 / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.11, allocations: 3.984 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.11, allocations: 4 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/1.11, allocations: 18.88 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006319/1.111, allocations: 308.1 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/1.111, allocations: 84.44 kB / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/1.111, allocations: 19.28 kB / 1.023 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/1.111, allocations: 3.938 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/1.111, allocations: 34.06 kB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/1.111, allocations: 0 / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001691/1.112, allocations: 57.06 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/1.112, allocations: 55.36 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/1.112, allocations: 117.8 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/1.112, allocations: 29.64 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/1.112, allocations: 88.02 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/1.112, allocations: 11.59 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/1.112, allocations: 0 / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.112, allocations: 314.8 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/1.112, allocations: 17.75 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/1.112, allocations: 23.72 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/1.112, allocations: 7.375 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.112, allocations: 3.984 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.029e-05/1.112, allocations: 55.8 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.112, allocations: 9.875 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.112, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.112, allocations: 3.984 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/1.112, allocations: 8.031 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.112, allocations: 3.828 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/1.113, allocations: 27.56 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/1.113, allocations: 0 / 1.023 GB, free: 32 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.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.666e-05/1.113, allocations: 101.2 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/1.113, allocations: 11.89 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/1.113, allocations: 7.469 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.113, allocations: 4 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.113, allocations: 4 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.113, allocations: 0 / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/1.113, allocations: 175.3 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.113, allocations: 0 / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/1.113, allocations: 11.98 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.113, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/1.113, allocations: 0.875 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.113, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.113, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/1.113, allocations: 157.3 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/1.113, allocations: 81.02 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/1.113, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/1.113, allocations: 8.797 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/1.113, allocations: 11.3 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/1.113, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.268e-05/1.113, allocations: 98.78 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.113, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002021/1.114, allocations: 10.25 kB / 1.024 GB, free: 15.29 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.0005481/1.114, allocations: 0.6816 MB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001132/1.114, allocations: 29.48 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.114, allocations: 4 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/1.114, allocations: 11.62 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/1.115, allocations: 8.047 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/1.115, allocations: 119 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/1.115, allocations: 0.6887 MB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.495e-05/1.115, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/1.115, allocations: 26.55 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/1.115, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/1.127, allocations: 1.463 MB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/1.127, allocations: 161.2 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.669, allocations: 4.062 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)