Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001258/0.001259, allocations: 185 kB / 371.8 MB, free: 10.27 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.674/1.674, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000865/0.0008647, allocations: 98.59 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004247, allocations: 14.59 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2478, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7354/0.9833, allocations: 137.6 MB / 1.114 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.9837, allocations: 76.72 kB / 1.114 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003215/0.9869, allocations: 1.117 MB / 1.115 GB, free: 31.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9869, allocations: 0 / 1.115 GB, free: 31.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.9869, allocations: 0 / 1.115 GB, free: 31.97 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003962/0.9873, allocations: 416 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.9874, allocations: 15.64 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.9875, allocations: 105.8 kB / 1.115 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.9876, allocations: 90.97 kB / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.9878, allocations: 268.5 kB / 1.116 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.9879, allocations: 158.3 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.9879, allocations: 154.5 kB / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.196e-05/0.988, allocations: 101 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.988, allocations: 79.22 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.9881, allocations: 158.5 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.9882, allocations: 154.4 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.9882, allocations: 154.5 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.9886, allocations: 0.5022 MB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/0.9887, allocations: 175.8 kB / 1.117 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.9887, allocations: 75.28 kB / 1.117 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.9888, allocations: 105.8 kB / 1.118 GB, free: 29.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.9888, allocations: 0 / 1.118 GB, free: 29.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.36e-05/0.9889, allocations: 43.97 kB / 1.118 GB, free: 29.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.989, allocations: 126.7 kB / 1.118 GB, free: 29.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.9892, allocations: 214.4 kB / 1.118 GB, free: 29.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.9892, allocations: 25.7 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.9893, allocations: 116.9 kB / 1.118 GB, free: 28.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.9893, allocations: 0 / 1.118 GB, free: 28.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.9893, allocations: 3.938 kB / 1.118 GB, free: 28.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9894, allocations: 321.6 kB / 1.118 GB, free: 28.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.9895, allocations: 50.17 kB / 1.118 GB, free: 28.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.9897, allocations: 177.6 kB / 1.119 GB, free: 28.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.9898, allocations: 68.95 kB / 1.119 GB, free: 28.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9898, allocations: 0 / 1.119 GB, free: 28.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003625/0.9901, allocations: 243.9 kB / 1.119 GB, free: 28.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.9902, allocations: 4.031 kB / 1.119 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.9902, allocations: 5.281 kB / 1.119 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.9902, allocations: 6.625 kB / 1.119 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.9904, allocations: 47.8 kB / 1.119 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.9904, allocations: 6.969 kB / 1.119 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.14e-05/0.9905, allocations: 18.31 kB / 1.119 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.9905, allocations: 18.27 kB / 1.119 GB, free: 28.31 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001612/0.9907, allocations: 214 kB / 1.119 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.9908, allocations: 127 kB / 1.119 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.585e-05/0.9909, allocations: 115.9 kB / 1.119 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-05/0.9909, allocations: 181.5 kB / 1.12 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-05/0.991, allocations: 185.6 kB / 1.12 GB, free: 27.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-05/0.9911, allocations: 179.7 kB / 1.12 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.9914, allocations: 444.9 kB / 1.12 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.792e-05/0.9914, allocations: 104.6 kB / 1.12 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.9915, allocations: 108.8 kB / 1.121 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.825e-05/0.9916, allocations: 180.2 kB / 1.121 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.9916, allocations: 180.3 kB / 1.121 GB, free: 26.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.356e-05/0.9917, allocations: 183.5 kB / 1.121 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.936e-05/0.9918, allocations: 180.1 kB / 1.121 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.9919, allocations: 312.8 kB / 1.122 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.992, allocations: 197.2 kB / 1.122 GB, free: 25.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.9921, allocations: 188 kB / 1.122 GB, free: 25.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.9922, allocations: 104.9 kB / 1.122 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.9923, allocations: 180.2 kB / 1.122 GB, free: 24.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.9923, allocations: 108 kB / 1.122 GB, free: 24.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001142/0.9924, allocations: 156.3 kB / 1.122 GB, free: 24.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.122e-06/0.9925, allocations: 4 kB / 1.122 GB, free: 24.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003286/0.9928, allocations: 31 kB / 1.123 GB, free: 24.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000488/0.9933, allocations: 0.8233 MB / 1.123 GB, free: 23.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.9935, allocations: 94.39 kB / 1.123 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9935, allocations: 0 / 1.123 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.9935, allocations: 0 / 1.123 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.9938, allocations: 0.5311 MB / 1.124 GB, free: 23.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.9958, allocations: 3.639 MB / 1.127 GB, free: 19.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.9962, allocations: 0.7162 MB / 1.128 GB, free: 19.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.816e-05/0.9962, allocations: 14.81 kB / 1.128 GB, free: 19.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.9963, allocations: 33.62 kB / 1.128 GB, free: 19.05 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.9963, allocations: 3.844 kB / 1.128 GB, free: 19.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/1.008, allocations: 2.306 MB / 1.13 GB, free: 18.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.008, allocations: 208.4 kB / 1.131 GB, free: 18.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.662, allocations: 0 / 1.131 GB, free: 18.57 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)