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.539/1.539, allocations: 285.4 MB / 298 MB, free: 5.953 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.0009456/0.0009457, allocations: 184.8 kB / 366.4 MB, free: 2.094 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.851/1.851, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.0009671/0.000967, allocations: 98.2 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.33e-05/4.35e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8739/0.874, allocations: 115.3 MB / 0.971 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/1.089, allocations: 137.5 MB / 1.105 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.089, allocations: 77.2 kB / 1.105 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003317/1.092, allocations: 1.136 MB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.843e-06/1.093, allocations: 0 / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.134e-05/1.093, allocations: 4 kB / 1.106 GB, free: 13.15 MB / 0.7136 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.0004199/1.093, allocations: 382.9 kB / 1.107 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/1.093, allocations: 8.75 kB / 1.107 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.043e-05/1.093, allocations: 105.8 kB / 1.107 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/1.093, allocations: 88.03 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/1.093, allocations: 268.4 kB / 1.107 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.334e-05/1.094, allocations: 154.6 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/1.094, allocations: 163.3 kB / 1.108 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.858e-05/1.094, allocations: 105.7 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/1.094, allocations: 75.28 kB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/1.094, allocations: 152.4 kB / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/1.094, allocations: 150.6 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.988e-05/1.094, allocations: 158.2 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/1.094, allocations: 0.5017 MB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/1.095, allocations: 170.3 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/1.095, allocations: 81.73 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/1.095, allocations: 75.88 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.075e-05/1.095, allocations: 113.3 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/1.095, allocations: 3.281 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001286/1.095, allocations: 37.52 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/1.095, allocations: 130.7 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/1.095, allocations: 209.9 kB / 1.109 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/1.095, allocations: 28.83 kB / 1.109 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/1.095, allocations: 112.1 kB / 1.11 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-06/1.095, allocations: 0 / 1.11 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/1.095, allocations: 4 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.096, allocations: 326.8 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/1.096, allocations: 44.34 kB / 1.11 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/1.096, allocations: 171.3 kB / 1.11 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/1.096, allocations: 72.19 kB / 1.11 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.096, allocations: 0 / 1.11 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004272/1.097, allocations: 240.9 kB / 1.11 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.097, allocations: 11.94 kB / 1.11 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.097, allocations: 4 kB / 1.11 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.097, allocations: 12 kB / 1.11 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/1.097, allocations: 43.91 kB / 1.11 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/1.097, allocations: 7.938 kB / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/1.097, allocations: 31.69 kB / 1.11 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/1.097, allocations: 12 kB / 1.111 GB, free: 8.695 MB / 0.7136 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 () * 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.0001173/1.097, allocations: 188.2 kB / 1.111 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/1.097, allocations: 122.5 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/1.097, allocations: 121.5 kB / 1.111 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.158e-05/1.097, allocations: 176.3 kB / 1.111 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.697e-05/1.097, allocations: 184.2 kB / 1.111 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-05/1.097, allocations: 180.2 kB / 1.111 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/1.098, allocations: 433.2 kB / 1.112 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/1.098, allocations: 108.9 kB / 1.112 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/1.098, allocations: 105 kB / 1.112 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.567e-05/1.098, allocations: 190.3 kB / 1.112 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.898e-05/1.098, allocations: 176.3 kB / 1.112 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.706e-05/1.098, allocations: 180.3 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001104/1.098, allocations: 180.2 kB / 1.113 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/1.098, allocations: 319.7 kB / 1.113 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/1.099, allocations: 193.9 kB / 1.113 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.474e-05/1.099, allocations: 185.5 kB / 1.113 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/1.099, allocations: 104.9 kB / 1.114 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/1.099, allocations: 184.2 kB / 1.114 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/1.099, allocations: 108.9 kB / 1.114 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001335/1.099, allocations: 160.6 kB / 1.114 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.099, allocations: 0 / 1.114 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003313/1.099, allocations: 27.94 kB / 1.114 GB, free: 4.926 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: 0 () * Number of discrete 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.000522/1.1, allocations: 0.8251 MB / 1.115 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001928/1.1, allocations: 91.7 kB / 1.115 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.1, allocations: 1.312 kB / 1.115 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/1.1, allocations: 0 / 1.115 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/1.1, allocations: 0.5302 MB / 1.115 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/1.101, allocations: 279.1 kB / 1.116 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/1.101, allocations: 0.7175 MB / 1.116 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.025e-05/1.101, allocations: 18.17 kB / 1.116 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/1.101, allocations: 35.42 kB / 1.116 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/1.101, allocations: 0 / 1.116 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/1.116, allocations: 2.303 MB / 1.119 GB, free: 260 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.117, allocations: 174.3 kB / 1.119 GB, free: 36 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.62, allocations: 0 / 1.119 GB, free: 36 kB / 0.7136 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)