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.001468/0.001467, allocations: 108 kB / 15.6 MB, free: 132 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.002/0.002, allocations: 192 kB / 16.53 MB, free: 6.391 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.873/1.873, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.62/1.62, allocations: 251.7 MB / 0.5092 GB, free: 3.098 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.002071/0.002072, allocations: 63.91 kB / 0.6223 GB, free: 1.531 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8989/0.901, allocations: 104.7 MB / 0.7245 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003609/0.9047, allocations: 1.214 MB / 0.7257 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000358/0.9051, allocations: 63.75 kB / 0.7258 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.9052, allocations: 0 / 0.7258 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.654e-05/0.9052, allocations: 3.984 kB / 0.7258 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.9054, allocations: 7.938 kB / 0.7258 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.9057, allocations: 11.98 kB / 0.7258 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.9058, allocations: 19.92 kB / 0.7258 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.492e-05/0.9059, allocations: 0 / 0.7258 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.708e-05/0.906, allocations: 7.984 kB / 0.7258 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.9061, allocations: 12.73 kB / 0.7258 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.9061, allocations: 0 / 0.7258 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-05/0.9062, allocations: 8 kB / 0.7258 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.9063, allocations: 48.38 kB / 0.7259 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.43e-05/0.9064, allocations: 35.75 kB / 0.7259 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.9066, allocations: 77.62 kB / 0.726 GB, free: 11.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.9066, allocations: 4 kB / 0.726 GB, free: 11.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.332e-06/0.9066, allocations: 3.984 kB / 0.726 GB, free: 11.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.9066, allocations: 0 / 0.726 GB, free: 11.54 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.0006992/0.9073, allocations: 426.6 kB / 0.7264 GB, free: 11.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.9074, allocations: 8.031 kB / 0.7264 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.851e-05/0.9075, allocations: 84.12 kB / 0.7265 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.9077, allocations: 267.3 kB / 0.7267 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.295e-05/0.9078, allocations: 166.7 kB / 0.7269 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.908, allocations: 150.6 kB / 0.727 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.9081, allocations: 107.8 kB / 0.7271 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-05/0.9081, allocations: 75.28 kB / 0.7272 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.453e-05/0.9082, allocations: 150.6 kB / 0.7274 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.9083, allocations: 154.6 kB / 0.7275 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.971e-05/0.9084, allocations: 154.5 kB / 0.7277 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.9089, allocations: 0.49 MB / 0.7281 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.9091, allocations: 169.1 kB / 0.7283 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.9092, allocations: 84.14 kB / 0.7284 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.9092, allocations: 79.28 kB / 0.7284 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.648e-05/0.9093, allocations: 109.8 kB / 0.7286 GB, free: 8.734 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9093, allocations: 3.938 kB / 0.7286 GB, free: 8.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001247/0.9094, allocations: 37.52 kB / 0.7286 GB, free: 8.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.9095, allocations: 126.7 kB / 0.7287 GB, free: 8.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.9099, allocations: 227 kB / 0.7289 GB, free: 8.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.9099, allocations: 33.7 kB / 0.729 GB, free: 8.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.91, allocations: 108.1 kB / 0.7291 GB, free: 8.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-06/0.91, allocations: 0 / 0.7291 GB, free: 8.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.9101, allocations: 45.69 kB / 0.7291 GB, free: 8.121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.9103, allocations: 326.8 kB / 0.7294 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.9105, allocations: 59.89 kB / 0.7295 GB, free: 7.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.9105, allocations: 51.97 kB / 0.7295 GB, free: 7.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.9108, allocations: 143.3 kB / 0.7297 GB, free: 7.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9108, allocations: 4.031 kB / 0.7297 GB, free: 7.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003529/0.9111, allocations: 175.6 kB / 0.7298 GB, free: 7.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.9112, allocations: 5.875 kB / 0.7298 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.9112, allocations: 0 / 0.7298 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.9112, allocations: 4 kB / 0.7298 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.9112, allocations: 0 / 0.7298 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.9112, allocations: 0 / 0.7298 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.9113, allocations: 23.69 kB / 0.7299 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.9113, allocations: 7.984 kB / 0.7299 GB, free: 7.324 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.0001923/0.9115, allocations: 205.1 kB / 0.7301 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.9116, allocations: 116.8 kB / 0.7302 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.302e-05/0.9117, allocations: 113.5 kB / 0.7303 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.704e-05/0.9118, allocations: 176.3 kB / 0.7305 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/0.9119, allocations: 180.2 kB / 0.7306 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001192/0.912, allocations: 184.3 kB / 0.7308 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.9125, allocations: 445.1 kB / 0.7312 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.982e-05/0.9126, allocations: 105 kB / 0.7313 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/0.9126, allocations: 101 kB / 0.7314 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.9128, allocations: 180.2 kB / 0.7316 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.9129, allocations: 184.2 kB / 0.7318 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001497/0.9131, allocations: 192.1 kB / 0.732 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001204/0.9132, allocations: 176.3 kB / 0.7321 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.9135, allocations: 323.5 kB / 0.7324 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.9137, allocations: 185.9 kB / 0.7326 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.9138, allocations: 188.2 kB / 0.7328 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.914, allocations: 109 kB / 0.7329 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.9141, allocations: 180.2 kB / 0.7331 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.9142, allocations: 109.3 kB / 0.7332 GB, free: 3.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001601/0.9144, allocations: 156.6 kB / 0.7333 GB, free: 3.566 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9144, allocations: 0 / 0.7333 GB, free: 3.566 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002785/0.9147, allocations: 16 kB / 0.7333 GB, free: 3.551 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.0002779/0.915, allocations: 182.5 kB / 0.7335 GB, free: 3.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.9152, allocations: 79.91 kB / 0.7336 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9152, allocations: 0 / 0.7336 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.255e-05/0.9152, allocations: 3.938 kB / 0.7336 GB, free: 3.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.9158, allocations: 459.6 kB / 0.734 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.9165, allocations: 306.2 kB / 0.7343 GB, free: 2.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.9171, allocations: 0.7119 MB / 0.735 GB, free: 1.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.9171, allocations: 7.984 kB / 0.735 GB, free: 1.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.9172, allocations: 11.44 kB / 0.735 GB, free: 1.742 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.9172, allocations: 0 / 0.735 GB, free: 1.742 MB / 0.545 GB Notification: Performance of Templates: time 0.00449/0.9217, allocations: 0.7421 MB / 0.7358 GB, free: 1 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)