Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.452/2.452, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 188.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 90.81 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.223e-05, allocations: 0 / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.846, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/1.086, allocations: 136.9 MB / 1.097 GB, free: 3.531 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/1.087, allocations: 59.97 kB / 1.097 GB, free: 3.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004467/1.091, allocations: 1.078 MB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/1.091, allocations: 0.5938 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.091, allocations: 0.6875 kB / 1.098 GB, free: 2.422 MB / 0.698 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.0004921/1.092, allocations: 355.5 kB / 1.099 GB, free: 2.031 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.092, allocations: 8.625 kB / 1.099 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/1.092, allocations: 9.828 kB / 1.099 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/1.092, allocations: 178.8 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/1.092, allocations: 5.531 kB / 1.099 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/1.092, allocations: 2.844 kB / 1.099 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000107/1.092, allocations: 20.56 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/1.092, allocations: 50.33 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.092, allocations: 0 / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.092, allocations: 1 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/1.092, allocations: 0 / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/1.093, allocations: 283.9 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/1.093, allocations: 81 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/1.094, allocations: 12.64 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/1.094, allocations: 1.312 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.094, allocations: 38.56 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.796e-06/1.094, allocations: 0.5 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002151/1.094, allocations: 54.78 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/1.094, allocations: 51.41 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/1.094, allocations: 111.5 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/1.094, allocations: 25.7 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/1.094, allocations: 96.03 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/1.094, allocations: 9.906 kB / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/1.094, allocations: 0 / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.094, allocations: 320.5 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/1.094, allocations: 8 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/1.094, allocations: 30.64 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/1.095, allocations: 14.62 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.095, allocations: 3.531 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001396/1.095, allocations: 49.69 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.095, allocations: 4 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.095, allocations: 4 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/1.095, allocations: 3.938 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/1.095, allocations: 4 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.095, allocations: 8.969 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/1.095, allocations: 14.03 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/1.095, allocations: 8 kB / 1.1 GB, free: 440 kB / 0.698 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 9.6e-05/1.095, allocations: 108.7 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00013/1.095, allocations: 49.59 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/1.095, allocations: 11.94 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/1.095, allocations: 12.33 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.095, allocations: 0 / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.095, allocations: 4 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.095, allocations: 3.953 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/1.096, allocations: 146.2 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.096, allocations: 0 / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/1.096, allocations: 11.92 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.096, allocations: 0 / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/1.096, allocations: 4 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.096, allocations: 4 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.096, allocations: 0 / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/1.096, allocations: 144.9 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/1.096, allocations: 89 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/1.096, allocations: 2.062 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/1.096, allocations: 5.625 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/1.096, allocations: 7.984 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/1.096, allocations: 11.98 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.151e-05/1.097, allocations: 91.28 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.097, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000319/1.097, allocations: 8 kB / 1.101 GB, free: 15.64 MB / 0.7136 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.0004944/1.097, allocations: 0.6849 MB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000141/1.098, allocations: 31.08 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.098, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/1.098, allocations: 12 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/1.098, allocations: 2.031 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/1.098, allocations: 117.3 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/1.099, allocations: 0.6885 MB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.583e-05/1.099, allocations: 8 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/1.099, allocations: 19.42 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/1.099, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/1.133, allocations: 1.124 MB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003058/1.133, allocations: 144.9 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/3.486, allocations: 0 / 1.103 GB, free: 12.72 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)