Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.969/1.969, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001198/0.001198, allocations: 186.5 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.000886/0.0008855, allocations: 90.75 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.597e-05/4.6e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2949, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9616/1.257, allocations: 138.7 MB / 1.115 GB, free: 44.87 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/1.257, allocations: 71.39 kB / 1.115 GB, free: 44.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00286/1.26, allocations: 1.076 MB / 1.116 GB, free: 44.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.505e-06/1.26, allocations: 0 / 1.116 GB, free: 44.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.685e-06/1.26, allocations: 1.156 kB / 1.116 GB, free: 44.13 MB / 0.7448 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.000335/1.26, allocations: 360.7 kB / 1.117 GB, free: 43.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/1.26, allocations: 8.031 kB / 1.117 GB, free: 43.75 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/1.26, allocations: 33.88 kB / 1.117 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/1.26, allocations: 8.844 kB / 1.117 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.26, allocations: 181.5 kB / 1.117 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/1.26, allocations: 9.859 kB / 1.117 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/1.26, allocations: 4 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/1.261, allocations: 51.52 kB / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/1.261, allocations: 0 / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.261, allocations: 0 / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.261, allocations: 0 / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/1.261, allocations: 24.7 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/1.261, allocations: 302.9 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/1.261, allocations: 79.69 kB / 1.117 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/1.261, allocations: 16.03 kB / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/1.261, allocations: 0 / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/1.261, allocations: 37.75 kB / 1.118 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/1.261, allocations: 7.328 kB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001734/1.262, allocations: 57 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/1.262, allocations: 51.41 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/1.262, allocations: 117.2 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/1.262, allocations: 25.7 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/1.262, allocations: 98.73 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/1.262, allocations: 7.719 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/1.262, allocations: 4 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/1.262, allocations: 318.1 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/1.262, allocations: 11.38 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/1.262, allocations: 24.53 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/1.262, allocations: 8.594 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.262, allocations: 0 / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.556e-05/1.262, allocations: 63.17 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.262, allocations: 4 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.262, allocations: 4.031 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.262, allocations: 0 / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/1.262, allocations: 8 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.262, allocations: 0.5625 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/1.262, allocations: 15.36 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/1.262, allocations: 3.953 kB / 1.118 GB, free: 42.21 MB / 0.7448 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 6.317e-05/1.262, allocations: 109 kB / 1.118 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/1.262, allocations: 8.469 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/1.263, allocations: 14.39 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.263, allocations: 0 / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.263, allocations: 0.5625 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.263, allocations: 0 / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/1.263, allocations: 180.4 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.263, allocations: 1.25 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/1.263, allocations: 11.36 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.263, allocations: 0 / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/1.263, allocations: 0 / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.263, allocations: 8 kB / 1.119 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.263, allocations: 1.484 kB / 1.119 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/1.263, allocations: 148.6 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/1.263, allocations: 84.53 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/1.263, allocations: 3.25 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/1.263, allocations: 8 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/1.263, allocations: 15.5 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/1.263, allocations: 0.6875 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.927e-05/1.263, allocations: 94.45 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.263, allocations: 0 / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002027/1.263, allocations: 8 kB / 1.119 GB, free: 41.51 MB / 0.7448 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.0003246/1.264, allocations: 0.6872 MB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001086/1.264, allocations: 31.73 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.264, allocations: 0 / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/1.264, allocations: 15.81 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/1.264, allocations: 7.828 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/1.264, allocations: 120.3 kB / 1.12 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/1.265, allocations: 0.6874 MB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.613e-05/1.265, allocations: 8 kB / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/1.265, allocations: 15.09 kB / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/1.265, allocations: 4 kB / 1.121 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/1.277, allocations: 1.45 MB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.277, allocations: 146.4 kB / 1.122 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.77, allocations: 0 / 1.122 GB, free: 38.95 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)