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.401/2.401, allocations: 248.7 MB / 256.2 MB, free: 7.074 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.002273/0.002273, allocations: 174.5 kB / 315.4 MB, free: 4.039 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.114/2.114, allocations: 205.3 MB / 0.5662 GB, free: 0.625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001166, allocations: 96.42 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.297e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9529/1.169, allocations: 131.8 MB / 1.013 GB, free: 7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.17, allocations: 71.02 kB / 1.013 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004443/1.174, allocations: 1.109 MB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/1.174, allocations: 0 / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.034e-06/1.174, allocations: 0 / 1.014 GB, free: 5.984 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.0004732/1.175, allocations: 350.5 kB / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.175, allocations: 8.031 kB / 1.014 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/1.175, allocations: 7.906 kB / 1.014 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/1.175, allocations: 181.9 kB / 1.014 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/1.175, allocations: 4 kB / 1.014 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/1.175, allocations: 7.938 kB / 1.014 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/1.175, allocations: 17.62 kB / 1.014 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/1.175, allocations: 52.23 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.175, allocations: 0 / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.175, allocations: 0 / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/1.175, allocations: 0 / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/1.176, allocations: 278.8 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/1.176, allocations: 82.59 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/1.176, allocations: 16.17 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/1.177, allocations: 0 / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/1.177, allocations: 30.56 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/1.177, allocations: 0 / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001973/1.177, allocations: 51.88 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.177, allocations: 51.41 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.177, allocations: 120.9 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/1.177, allocations: 29.64 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/1.177, allocations: 90.58 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/1.177, allocations: 3.906 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/1.177, allocations: 0 / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.177, allocations: 318 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/1.177, allocations: 14.56 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.626e-05/1.177, allocations: 20.97 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.056e-05/1.177, allocations: 21.98 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.177, allocations: 0 / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001314/1.178, allocations: 52.23 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.178, allocations: 4 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.178, allocations: 3.984 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.178, allocations: 3.938 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/1.178, allocations: 8 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.178, allocations: 0 / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/1.178, allocations: 27.23 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/1.178, allocations: 3.953 kB / 1.016 GB, free: 4.059 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.731e-05/1.178, allocations: 105 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001455/1.178, allocations: 53.2 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/1.178, allocations: 4 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/1.178, allocations: 7.531 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.178, allocations: 0 / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.178, allocations: 3.953 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.178, allocations: 0 / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/1.179, allocations: 160.3 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.179, allocations: 0.875 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/1.179, allocations: 4 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/1.179, allocations: 0 / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.179, allocations: 3.984 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/1.179, allocations: 0 / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.179, allocations: 0 / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/1.179, allocations: 154.5 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/1.179, allocations: 88.95 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/1.179, allocations: 4 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/1.179, allocations: 7.984 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/1.179, allocations: 11.17 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/1.179, allocations: 0 / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.066e-05/1.179, allocations: 91.55 kB / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.01e-07/1.179, allocations: 0 / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000304/1.18, allocations: 4 kB / 1.016 GB, free: 3.312 MB / 0.6355 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.0004888/1.18, allocations: 0.6874 MB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001373/1.18, allocations: 18.88 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.18, allocations: 0 / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.021e-05/1.18, allocations: 18.67 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/1.181, allocations: 8 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/1.181, allocations: 120.4 kB / 1.017 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/1.181, allocations: 0.6923 MB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.173e-05/1.182, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/1.182, allocations: 21.73 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/1.182, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/1.216, allocations: 1.133 MB / 1.019 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003428/1.217, allocations: 140.6 kB / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.61, allocations: 7.656 kB / 1.019 GB, free: 384 kB / 0.6355 GB