Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001085/0.001085, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.139/3.139, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.38 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4812, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00527/0.4866, allocations: 1.206 MB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004278/0.4871, allocations: 59.75 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.4872, allocations: 0 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.4872, allocations: 3.938 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.4875, allocations: 8 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.4878, allocations: 11.91 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.4879, allocations: 16 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.488, allocations: 7.984 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.4881, allocations: 11.92 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.4882, allocations: 8.688 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.4883, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.4884, allocations: 11.98 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.4886, allocations: 40.45 kB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.284e-05/0.4887, allocations: 43.69 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.4889, allocations: 75.92 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4889, allocations: 0 / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.247e-06/0.489, allocations: 4 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.489, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8262 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.0008079/0.4898, allocations: 422.8 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/0.4899, allocations: 12.03 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.4901, allocations: 95.97 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.4904, allocations: 263.4 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.984e-05/0.4905, allocations: 158.7 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.737e-05/0.4906, allocations: 154.6 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4907, allocations: 115.1 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.4907, allocations: 75.28 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.4908, allocations: 150.6 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.997e-05/0.4909, allocations: 150.6 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.491, allocations: 154.6 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.4916, allocations: 0.49 MB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.4917, allocations: 173 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.4918, allocations: 80.14 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.4919, allocations: 75.28 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.912e-05/0.4919, allocations: 113.8 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.492, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001672/0.4921, allocations: 45.5 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.4923, allocations: 126.7 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.4928, allocations: 230.9 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.4928, allocations: 25.7 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.493, allocations: 112 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.133e-06/0.493, allocations: 4 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.4932, allocations: 33.7 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002343/0.4934, allocations: 326.8 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.4936, allocations: 63.89 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.4938, allocations: 56.52 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.4941, allocations: 140.3 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4942, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000737/0.4949, allocations: 169.5 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.495, allocations: 8.062 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.495, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.264e-05/0.495, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.244e-06/0.495, allocations: 3.938 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.4951, allocations: 3.984 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/0.4952, allocations: 19.69 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.4952, allocations: 8 kB / 1.074 GB, free: 4.715 MB / 0.8262 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.0002488/0.4955, allocations: 201.6 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.4956, allocations: 128.7 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.4958, allocations: 113.3 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001237/0.4959, allocations: 180.2 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001143/0.496, allocations: 180.2 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001448/0.4962, allocations: 184.2 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.4966, allocations: 437.1 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.913e-05/0.4967, allocations: 108.9 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.4968, allocations: 105 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.497, allocations: 184.3 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.4971, allocations: 180.2 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001076/0.4972, allocations: 176.3 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001184/0.4974, allocations: 188.2 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.4977, allocations: 323.8 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.4979, allocations: 189.9 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.498, allocations: 180.3 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.4982, allocations: 116.9 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.4983, allocations: 180.3 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/0.4984, allocations: 101 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002273/0.4987, allocations: 151.2 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4987, allocations: 0 / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004726/0.4992, allocations: 23.98 kB / 1.077 GB, free: 0.9414 MB / 0.8262 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.0003982/0.4996, allocations: 180 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.4999, allocations: 87.89 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4999, allocations: 0 / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-06/0.5, allocations: 0 / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.5008, allocations: 459.7 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.5019, allocations: 306.1 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.5026, allocations: 0.7158 MB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.603e-05/0.5026, allocations: 7.984 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.5027, allocations: 15.38 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of SimCode: time 8.11e-07/0.5027, allocations: 3.938 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.006389/0.5091, allocations: 0.7227 MB / 1.079 GB, free: 14.4 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)