Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01156/0.01156, allocations: 101.8 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 184.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.641/1.641, allocations: 251.7 MB / 0.5094 GB, free: 2.996 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.88 kB / 0.7257 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2971, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002689/0.2998, allocations: 1.21 MB / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003052/0.3001, allocations: 59.64 kB / 0.8292 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.3002, allocations: 0 / 0.8292 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.807e-05/0.3002, allocations: 7.922 kB / 0.8293 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.3004, allocations: 4 kB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.3006, allocations: 15.92 kB / 0.8293 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.557e-05/0.3007, allocations: 11.98 kB / 0.8293 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/0.3008, allocations: 8 kB / 0.8293 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.3008, allocations: 7.984 kB / 0.8293 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.3009, allocations: 8.688 kB / 0.8293 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3009, allocations: 3.938 kB / 0.8293 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.382e-05/0.301, allocations: 8 kB / 0.8293 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.3012, allocations: 56.36 kB / 0.8294 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.3012, allocations: 35.69 kB / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.3014, allocations: 79.64 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3014, allocations: 0 / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3014, allocations: 4 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.3014, allocations: 0 / 0.8295 GB, free: 14.66 MB / 0.6544 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.0005413/0.302, allocations: 425.1 kB / 0.8299 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.302, allocations: 12.03 kB / 0.8299 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.811e-05/0.3021, allocations: 88.11 kB / 0.83 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3023, allocations: 263.4 kB / 0.8302 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.79e-05/0.3024, allocations: 158.7 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.3025, allocations: 154.6 kB / 0.8305 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.952e-05/0.3026, allocations: 109.3 kB / 0.8306 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.3026, allocations: 75.28 kB / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.3027, allocations: 154.5 kB / 0.8309 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.77e-05/0.3028, allocations: 150.6 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.3028, allocations: 154.6 kB / 0.8312 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.3032, allocations: 0.4939 MB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3033, allocations: 173.1 kB / 0.8318 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.3034, allocations: 84.08 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.3034, allocations: 79.28 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.3035, allocations: 109.8 kB / 0.8321 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.3035, allocations: 0 / 0.8321 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001006/0.3036, allocations: 41.52 kB / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.3037, allocations: 126.7 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.3039, allocations: 223.1 kB / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.304, allocations: 25.7 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.304, allocations: 116 kB / 0.8326 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.3041, allocations: 4 kB / 0.8326 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.3041, allocations: 37.69 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3043, allocations: 326.8 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.3044, allocations: 63.89 kB / 0.833 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.3044, allocations: 55.91 kB / 0.833 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3046, allocations: 138.8 kB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3046, allocations: 0 / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003423/0.305, allocations: 176.2 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.305, allocations: 8.062 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.305, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.305, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.305, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.305, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.3051, allocations: 15.75 kB / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3051, allocations: 15.92 kB / 0.8334 GB, free: 10.45 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.3053, allocations: 205 kB / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.3054, allocations: 116.9 kB / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.3054, allocations: 113.5 kB / 0.8338 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.437e-05/0.3055, allocations: 180.2 kB / 0.834 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.477e-05/0.3056, allocations: 176.3 kB / 0.8341 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-05/0.3057, allocations: 184.2 kB / 0.8343 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3059, allocations: 445.1 kB / 0.8347 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-05/0.306, allocations: 105 kB / 0.8348 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.306, allocations: 104.9 kB / 0.8349 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.276e-05/0.3061, allocations: 184.2 kB / 0.8351 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.3062, allocations: 180.2 kB / 0.8353 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.158e-05/0.3062, allocations: 176.3 kB / 0.8354 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.648e-05/0.3063, allocations: 192.3 kB / 0.8356 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.3065, allocations: 315.8 kB / 0.8359 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3066, allocations: 193.8 kB / 0.8361 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.3067, allocations: 188.3 kB / 0.8363 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.066e-05/0.3068, allocations: 105 kB / 0.8364 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.3069, allocations: 184.2 kB / 0.8366 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.3069, allocations: 105 kB / 0.8367 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001212/0.307, allocations: 156.6 kB / 0.8368 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.307, allocations: 0 / 0.8368 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002381/0.3073, allocations: 20 kB / 0.8368 GB, free: 6.668 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000204/0.3075, allocations: 174.5 kB / 0.837 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.3076, allocations: 87.84 kB / 0.8371 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3077, allocations: 0 / 0.8371 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3077, allocations: 0 / 0.8371 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.3081, allocations: 470.4 kB / 0.8375 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.3085, allocations: 294.4 kB / 0.8378 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3089, allocations: 0.7117 MB / 0.8385 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.3089, allocations: 7.984 kB / 0.8385 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.3089, allocations: 15.42 kB / 0.8385 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.3089, allocations: 0 / 0.8385 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of Templates: time 0.003095/0.312, allocations: 0.7343 MB / 0.8393 GB, free: 4.129 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)