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.001234/0.001234, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001615/0.001615, allocations: 190.7 kB / 16.25 MB, free: 6.145 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.786/1.786, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.718/1.718, allocations: 251.6 MB / 0.5089 GB, free: 3.312 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.002004/0.002004, allocations: 67.89 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7981, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.004572/0.8027, allocations: 1.26 MB / 0.7252 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004377/0.8032, allocations: 66.61 kB / 0.7253 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.8033, allocations: 0 / 0.7253 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.785e-05/0.8034, allocations: 0 / 0.7253 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.8036, allocations: 15.92 kB / 0.7253 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.8039, allocations: 11.98 kB / 0.7253 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.8041, allocations: 15.92 kB / 0.7253 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.902e-05/0.8042, allocations: 0 / 0.7253 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.8042, allocations: 7.984 kB / 0.7253 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.8044, allocations: 17.5 kB / 0.7253 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.8044, allocations: 3.938 kB / 0.7254 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.8046, allocations: 4 kB / 0.7254 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.8047, allocations: 56.38 kB / 0.7254 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.994e-05/0.8048, allocations: 39.73 kB / 0.7254 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.805, allocations: 77.61 kB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.8051, allocations: 0 / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.168e-06/0.8051, allocations: 0 / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.8051, allocations: 0 / 0.7255 GB, free: 11.53 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.0007241/0.8058, allocations: 430.7 kB / 0.7259 GB, free: 11.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/0.8059, allocations: 8.031 kB / 0.7259 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.806, allocations: 84.12 kB / 0.726 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.8063, allocations: 274.7 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.392e-05/0.8064, allocations: 150.6 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.8066, allocations: 154.5 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.8067, allocations: 101 kB / 0.7267 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.65e-05/0.8067, allocations: 75.28 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.8068, allocations: 150.6 kB / 0.7269 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.807, allocations: 158.5 kB / 0.727 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.8071, allocations: 162.5 kB / 0.7272 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.8075, allocations: 489.7 kB / 0.7277 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.8077, allocations: 173.1 kB / 0.7278 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.8078, allocations: 88.14 kB / 0.7279 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.8078, allocations: 79.27 kB / 0.728 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/0.8079, allocations: 109.8 kB / 0.7281 GB, free: 8.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.8079, allocations: 0 / 0.7281 GB, free: 8.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001212/0.808, allocations: 41.45 kB / 0.7281 GB, free: 8.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.94e-05/0.8081, allocations: 130.7 kB / 0.7283 GB, free: 8.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.8084, allocations: 235 kB / 0.7285 GB, free: 8.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.8085, allocations: 25.7 kB / 0.7285 GB, free: 8.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.8086, allocations: 100.1 kB / 0.7286 GB, free: 8.168 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.8086, allocations: 0 / 0.7286 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.8086, allocations: 45.69 kB / 0.7286 GB, free: 8.117 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.8088, allocations: 326.8 kB / 0.729 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.8089, allocations: 55.95 kB / 0.729 GB, free: 7.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.809, allocations: 55.97 kB / 0.7291 GB, free: 7.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.8092, allocations: 139.2 kB / 0.7292 GB, free: 7.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8092, allocations: 0 / 0.7292 GB, free: 7.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003186/0.8095, allocations: 185.8 kB / 0.7294 GB, free: 7.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.8095, allocations: 10.19 kB / 0.7294 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.8096, allocations: 0 / 0.7294 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8096, allocations: 0 / 0.7294 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.8096, allocations: 0 / 0.7294 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.8096, allocations: 3.938 kB / 0.7294 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.8097, allocations: 19.69 kB / 0.7294 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.8097, allocations: 11.92 kB / 0.7294 GB, free: 7.312 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.8099, allocations: 201.1 kB / 0.7296 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.8099, allocations: 116.9 kB / 0.7297 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.81, allocations: 113.5 kB / 0.7298 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.751e-05/0.8101, allocations: 180.3 kB / 0.73 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.848e-05/0.8102, allocations: 180.3 kB / 0.7302 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-05/0.8103, allocations: 188.2 kB / 0.7303 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.8106, allocations: 437.1 kB / 0.7308 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.676e-05/0.8107, allocations: 104.9 kB / 0.7309 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.8107, allocations: 101 kB / 0.731 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.194e-05/0.8108, allocations: 184.2 kB / 0.7311 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.495e-05/0.8109, allocations: 188.2 kB / 0.7313 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-05/0.811, allocations: 180.3 kB / 0.7315 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.975e-05/0.8111, allocations: 180.2 kB / 0.7317 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.8113, allocations: 323.5 kB / 0.732 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.8115, allocations: 189.9 kB / 0.7321 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.8116, allocations: 180.3 kB / 0.7323 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.8117, allocations: 109.2 kB / 0.7324 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.8119, allocations: 180.2 kB / 0.7326 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.8119, allocations: 108.9 kB / 0.7327 GB, free: 3.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001471/0.8121, allocations: 160.5 kB / 0.7329 GB, free: 3.559 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8121, allocations: 0 / 0.7329 GB, free: 3.559 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002747/0.8124, allocations: 16 kB / 0.7329 GB, free: 3.543 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 (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.0002402/0.8126, allocations: 186.5 kB / 0.733 GB, free: 3.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.8128, allocations: 76.02 kB / 0.7331 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8128, allocations: 0 / 0.7331 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.8128, allocations: 0 / 0.7331 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.8133, allocations: 466.4 kB / 0.7336 GB, free: 2.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.8139, allocations: 326.2 kB / 0.7339 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.8142, allocations: 0.708 MB / 0.7346 GB, free: 1.734 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.8143, allocations: 7.984 kB / 0.7346 GB, free: 1.727 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.8143, allocations: 15.42 kB / 0.7346 GB, free: 1.715 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.8143, allocations: 0 / 0.7346 GB, free: 1.715 MB / 0.545 GB Notification: Performance of Templates: time 0.003731/0.818, allocations: 0.7382 MB / 0.7353 GB, free: 0.9766 MB / 0.545 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)