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.001169/0.001168, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001469/0.00147, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 222.1 MB, free: 5.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.772/1.772, allocations: 251.9 MB / 0.51 GB, free: 4.805 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.001104/0.001104, allocations: 20 kB / 0.6241 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7855/0.7867, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001254/0.788, allocations: 0.9222 MB / 0.7289 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002102/0.7882, allocations: 54.41 kB / 0.7289 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.7882, allocations: 0 / 0.7289 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.7883, allocations: 3.938 kB / 0.7289 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.7884, allocations: 4 kB / 0.7289 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.7886, allocations: 11.97 kB / 0.7289 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.365e-05/0.7886, allocations: 8 kB / 0.7289 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.936e-05/0.7887, allocations: 4 kB / 0.729 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.701e-05/0.7887, allocations: 0 / 0.729 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.7888, allocations: 11.98 kB / 0.729 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.7888, allocations: 0 / 0.729 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.956e-05/0.7889, allocations: 7.984 kB / 0.729 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.789, allocations: 39.91 kB / 0.729 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.789, allocations: 41.62 kB / 0.7291 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/0.7891, allocations: 49.88 kB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7891, allocations: 4 kB / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7891, allocations: 3.938 kB / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.7892, allocations: 0 / 0.7291 GB, free: 10.22 MB / 0.545 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.0004294/0.7896, allocations: 413.7 kB / 0.7295 GB, free: 9.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7896, allocations: 12.03 kB / 0.7295 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.7897, allocations: 83.12 kB / 0.7296 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.7899, allocations: 270.1 kB / 0.7298 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.971e-05/0.79, allocations: 154.6 kB / 0.73 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.79, allocations: 154.6 kB / 0.7301 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.95e-05/0.7901, allocations: 101 kB / 0.7302 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.7901, allocations: 79.28 kB / 0.7303 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.7902, allocations: 150.6 kB / 0.7305 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.7903, allocations: 150.6 kB / 0.7306 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.968e-05/0.7903, allocations: 161.4 kB / 0.7308 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.7907, allocations: 0.49 MB / 0.7312 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.7909, allocations: 165.1 kB / 0.7314 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.7909, allocations: 79.27 kB / 0.7315 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.062e-05/0.791, allocations: 109.8 kB / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 4.058e-06/0.791, allocations: 0 / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001094/0.7912, allocations: 49.39 kB / 0.7316 GB, free: 7.469 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.7912, allocations: 126.7 kB / 0.7317 GB, free: 7.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.7916, allocations: 231 kB / 0.732 GB, free: 7.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.7916, allocations: 25.7 kB / 0.732 GB, free: 7.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.855e-05/0.7917, allocations: 108.2 kB / 0.7321 GB, free: 6.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.7918, allocations: 0 / 0.7321 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.7918, allocations: 4 kB / 0.7321 GB, free: 6.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.792, allocations: 326.8 kB / 0.7324 GB, free: 6.621 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.7921, allocations: 56.14 kB / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.7921, allocations: 52.91 kB / 0.7325 GB, free: 6.516 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.7922, allocations: 67.52 kB / 0.7326 GB, free: 6.453 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.7923, allocations: 3.953 kB / 0.7326 GB, free: 6.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003959/0.7927, allocations: 171.9 kB / 0.7327 GB, free: 6.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.7927, allocations: 8 kB / 0.7327 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.7927, allocations: 0 / 0.7327 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.7927, allocations: 4.062 kB / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-06/0.7928, allocations: 0 / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.7928, allocations: 4 kB / 0.7328 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.7928, allocations: 23.67 kB / 0.7328 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.7929, allocations: 7.984 kB / 0.7328 GB, free: 6.23 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.793, allocations: 197.1 kB / 0.733 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.7931, allocations: 120.7 kB / 0.7331 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/0.7932, allocations: 125.4 kB / 0.7332 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.171e-05/0.7933, allocations: 184.3 kB / 0.7334 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001073/0.7934, allocations: 180.2 kB / 0.7336 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/0.7935, allocations: 180.2 kB / 0.7337 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.7939, allocations: 433.2 kB / 0.7341 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.943e-05/0.794, allocations: 104.9 kB / 0.7342 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.794, allocations: 108.9 kB / 0.7343 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.732e-05/0.7941, allocations: 188.2 kB / 0.7345 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-05/0.7942, allocations: 180.3 kB / 0.7347 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.923e-05/0.7943, allocations: 176.3 kB / 0.7349 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.831e-05/0.7944, allocations: 180.2 kB / 0.735 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.7946, allocations: 319.7 kB / 0.7353 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.7947, allocations: 189.9 kB / 0.7355 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.7948, allocations: 184.2 kB / 0.7357 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.7949, allocations: 101 kB / 0.7358 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/0.795, allocations: 184.2 kB / 0.736 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.7951, allocations: 112.9 kB / 0.7361 GB, free: 2.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001319/0.7952, allocations: 160.6 kB / 0.7362 GB, free: 2.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7952, allocations: 0 / 0.7362 GB, free: 2.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000298/0.7955, allocations: 16 kB / 0.7362 GB, free: 2.457 MB / 0.545 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.0002895/0.7958, allocations: 182.5 kB / 0.7364 GB, free: 2.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.796, allocations: 76.25 kB / 0.7365 GB, free: 2.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.796, allocations: 4.062 kB / 0.7365 GB, free: 2.188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/0.796, allocations: 0 / 0.7365 GB, free: 2.188 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.7965, allocations: 0.5301 MB / 0.737 GB, free: 1.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.7971, allocations: 305.6 kB / 0.7373 GB, free: 1.324 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.7975, allocations: 0.7121 MB / 0.738 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.7976, allocations: 15.98 kB / 0.738 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.7976, allocations: 7.438 kB / 0.738 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.7976, allocations: 0 / 0.738 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of Templates: time 0.003935/0.8015, allocations: 0.685 MB / 0.7387 GB, free: 15.88 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: