Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.165/2.165, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001588, allocations: 180.1 kB / 325.5 MB, free: 2.898 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.358/2.358, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 107 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000621/0.000621, allocations: 13.09 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2172, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2477/0.465, allocations: 131.1 MB / 1.027 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.4653, allocations: 79.94 kB / 1.027 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004229/0.4696, allocations: 1.115 MB / 1.028 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4696, allocations: 0 / 1.028 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.4696, allocations: 4 kB / 1.028 GB, free: 13.02 MB / 0.6823 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.0004862/0.4701, allocations: 418.7 kB / 1.028 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4702, allocations: 8.031 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.945e-05/0.4702, allocations: 117.8 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.224e-05/0.4703, allocations: 83.19 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.4706, allocations: 262.1 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.4707, allocations: 154.6 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/0.4708, allocations: 166.5 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.381e-05/0.4709, allocations: 105 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.4709, allocations: 79.28 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.471, allocations: 150.6 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-05/0.4711, allocations: 150.6 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.4711, allocations: 158.5 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.4716, allocations: 0.5016 MB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/0.4717, allocations: 170 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.4717, allocations: 75.28 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.4718, allocations: 109.8 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.4718, allocations: 0 / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001178/0.4719, allocations: 45.44 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.472, allocations: 130.7 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.4724, allocations: 214.1 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.4724, allocations: 25.7 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.4725, allocations: 108.1 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.4725, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.4725, allocations: 4 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4727, allocations: 330.8 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.4729, allocations: 48.27 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.4731, allocations: 176.7 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.4734, allocations: 75.89 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4734, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006595/0.4741, allocations: 236.9 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4741, allocations: 9.562 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4741, allocations: 4 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.4741, allocations: 8.656 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.4744, allocations: 39.92 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.4745, allocations: 15.94 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.4747, allocations: 27.73 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.4747, allocations: 12 kB / 1.032 GB, free: 8.582 MB / 0.6823 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.00018/0.4749, allocations: 216.9 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.475, allocations: 116.8 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.4751, allocations: 117.5 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.797e-05/0.4752, allocations: 184.2 kB / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-05/0.4752, allocations: 184.2 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-05/0.4753, allocations: 180.2 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.4757, allocations: 437.2 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.464e-05/0.4757, allocations: 101 kB / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.4758, allocations: 108.9 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.592e-05/0.4759, allocations: 188.3 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.75e-05/0.476, allocations: 180.2 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.005e-05/0.476, allocations: 176.3 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-05/0.4761, allocations: 176.3 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.4763, allocations: 319.7 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4764, allocations: 201.8 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.4765, allocations: 176.3 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.4767, allocations: 109.8 kB / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.4768, allocations: 180.2 kB / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.4768, allocations: 105 kB / 1.035 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002126/0.4771, allocations: 156.7 kB / 1.035 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4771, allocations: 0 / 1.035 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004152/0.4775, allocations: 24 kB / 1.036 GB, free: 4.801 MB / 0.6823 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.0005428/0.478, allocations: 0.8241 MB / 1.036 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.4784, allocations: 95.75 kB / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4784, allocations: 0 / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.4784, allocations: 0 / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.4788, allocations: 0.5314 MB / 1.037 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.481, allocations: 3.657 MB / 1.04 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.4814, allocations: 0.7121 MB / 1.041 GB, free: 14.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.009e-05/0.4815, allocations: 15.84 kB / 1.041 GB, free: 14.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.4816, allocations: 35.42 kB / 1.041 GB, free: 14.73 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/0.4816, allocations: 4 kB / 1.041 GB, free: 14.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.5068, allocations: 2.292 MB / 1.043 GB, free: 12.58 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/0.5072, allocations: 195.2 kB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/2.806, allocations: 3.688 kB / 1.044 GB, free: 12.34 MB / 0.698 GB