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.008447/0.008447, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.0016/0.0016, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.767/1.767, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.801/1.801, allocations: 251.7 MB / 0.5094 GB, free: 2.984 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.001561/0.001561, allocations: 63.91 kB / 0.7257 GB, free: 9.129 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3816, allocations: 104.7 MB / 0.828 GB, free: 316 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003603/0.3853, allocations: 1.206 MB / 0.8292 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004563/0.3858, allocations: 55.77 kB / 0.8292 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.3858, allocations: 4 kB / 0.8293 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.727e-05/0.3859, allocations: 0 / 0.8293 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.3861, allocations: 7.922 kB / 0.8293 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.3864, allocations: 15.98 kB / 0.8293 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.3865, allocations: 19.86 kB / 0.8293 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.755e-05/0.3866, allocations: 4 kB / 0.8293 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/0.3867, allocations: 4 kB / 0.8293 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3868, allocations: 16.72 kB / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.3868, allocations: 0 / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3869, allocations: 7.938 kB / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3871, allocations: 52.44 kB / 0.8294 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.3872, allocations: 39.69 kB / 0.8294 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.3874, allocations: 71.59 kB / 0.8295 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3874, allocations: 0 / 0.8295 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.707e-06/0.3874, allocations: 0 / 0.8295 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.3874, allocations: 0 / 0.8295 GB, free: 14.8 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.000754/0.3882, allocations: 434.7 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.3883, allocations: 12.03 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.3884, allocations: 88.12 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.3886, allocations: 263.4 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.3887, allocations: 154.7 kB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/0.3888, allocations: 150.6 kB / 0.8305 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.503e-05/0.3889, allocations: 101.3 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.3889, allocations: 83.22 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.389, allocations: 154.6 kB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.04e-05/0.3891, allocations: 150.6 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/0.3892, allocations: 154.5 kB / 0.8311 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.3896, allocations: 0.4978 MB / 0.8316 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.3897, allocations: 177.1 kB / 0.8318 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.3898, allocations: 80.14 kB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.3898, allocations: 75.28 kB / 0.832 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.778e-05/0.3899, allocations: 109.8 kB / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3899, allocations: 0 / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001089/0.39, allocations: 37.52 kB / 0.8321 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.3901, allocations: 134.7 kB / 0.8322 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.3904, allocations: 227.1 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3905, allocations: 25.7 kB / 0.8325 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3906, allocations: 112 kB / 0.8326 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/0.3906, allocations: 0 / 0.8326 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.3906, allocations: 41.69 kB / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.3909, allocations: 322.8 kB / 0.8329 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.391, allocations: 63.89 kB / 0.833 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.3911, allocations: 55.97 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.3913, allocations: 138.6 kB / 0.8332 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3913, allocations: 4 kB / 0.8332 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003809/0.3917, allocations: 179.4 kB / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3917, allocations: 7.938 kB / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3917, allocations: 0 / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3918, allocations: 0 / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.3918, allocations: 0 / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3918, allocations: 0 / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.3918, allocations: 15.75 kB / 0.8334 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.3919, allocations: 8.062 kB / 0.8334 GB, free: 10.58 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.0001603/0.392, allocations: 205 kB / 0.8336 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.3921, allocations: 112.8 kB / 0.8337 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.313e-05/0.3922, allocations: 117.5 kB / 0.8338 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.3923, allocations: 184.2 kB / 0.834 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.009e-05/0.3924, allocations: 176.3 kB / 0.8341 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.975e-05/0.3925, allocations: 180.3 kB / 0.8343 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.3928, allocations: 449 kB / 0.8347 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.655e-05/0.3929, allocations: 101 kB / 0.8348 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.3929, allocations: 104.9 kB / 0.8349 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.393, allocations: 180.3 kB / 0.8351 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.841e-05/0.3932, allocations: 188.2 kB / 0.8353 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.046e-05/0.3932, allocations: 180.2 kB / 0.8354 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.578e-05/0.3933, allocations: 180.3 kB / 0.8356 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.3935, allocations: 319.8 kB / 0.8359 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3936, allocations: 197.9 kB / 0.8361 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.3938, allocations: 184.2 kB / 0.8363 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3939, allocations: 105 kB / 0.8364 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/0.394, allocations: 180.2 kB / 0.8366 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/0.394, allocations: 101 kB / 0.8367 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001464/0.3942, allocations: 160.6 kB / 0.8368 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3942, allocations: 0 / 0.8368 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002613/0.3945, allocations: 24 kB / 0.8368 GB, free: 6.805 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.0002464/0.3947, allocations: 174.5 kB / 0.837 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.3949, allocations: 83.84 kB / 0.8371 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3949, allocations: 0 / 0.8371 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.3949, allocations: 0 / 0.8371 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.3954, allocations: 467.7 kB / 0.8375 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.396, allocations: 296.8 kB / 0.8378 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3964, allocations: 0.7117 MB / 0.8385 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.555e-05/0.3965, allocations: 7.984 kB / 0.8385 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.3965, allocations: 11.44 kB / 0.8385 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.3965, allocations: 4 kB / 0.8385 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of Templates: time 0.00401/0.4005, allocations: 0.7421 MB / 0.8392 GB, free: 4.262 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)