Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000979/0.000979, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007419/0.007419, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.722/1.722, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.682/1.682, allocations: 252 MB / 0.5105 GB, free: 4.648 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.0005802/0.0005802, allocations: 20 kB / 0.6249 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6961/0.6967, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002281/0.6991, allocations: 1.354 MB / 0.7301 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006699/0.6997, allocations: 268.1 kB / 0.7303 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.6998, allocations: 7.938 kB / 0.7303 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.6999, allocations: 7.922 kB / 0.7303 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.7, allocations: 23.78 kB / 0.7303 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.7003, allocations: 59.92 kB / 0.7304 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.7006, allocations: 227.4 kB / 0.7306 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.7008, allocations: 49.55 kB / 0.7307 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.7009, allocations: 83.72 kB / 0.7307 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.7011, allocations: 107.6 kB / 0.7309 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.7011, allocations: 12 kB / 0.7309 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.963e-05/0.7012, allocations: 15.94 kB / 0.7309 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.7012, allocations: 47.81 kB / 0.7309 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.7014, allocations: 113.2 kB / 0.731 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.7016, allocations: 237.1 kB / 0.7313 GB, free: 8.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.7016, allocations: 0 / 0.7313 GB, free: 8.637 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7016, allocations: 0 / 0.7313 GB, free: 8.637 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.7017, allocations: 0 / 0.7313 GB, free: 8.637 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001386/0.703, allocations: 0.5419 MB / 0.7318 GB, free: 8.043 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.7031, allocations: 12.03 kB / 0.7318 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.7032, allocations: 20.66 kB / 0.7318 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.7034, allocations: 239.8 kB / 0.732 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/0.7035, allocations: 16.38 kB / 0.7321 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.7036, allocations: 16.38 kB / 0.7321 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.7044, allocations: 305.7 kB / 0.7324 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7044, allocations: 4.188 kB / 0.7324 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.7045, allocations: 19.86 kB / 0.7324 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.7045, allocations: 4 kB / 0.7324 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.7055, allocations: 347.5 kB / 0.7327 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.7072, allocations: 0.6948 MB / 0.7334 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/0.7081, allocations: 314.3 kB / 0.7337 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.7087, allocations: 208.7 kB / 0.7339 GB, free: 5.766 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.7087, allocations: 8 kB / 0.7339 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009024/0.7096, allocations: 310.3 kB / 0.7342 GB, free: 5.441 MB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/0.7096, allocations: 0 / 0.7342 GB, free: 5.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.001946/0.7116, allocations: 0.6944 MB / 0.7349 GB, free: 4.742 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/0.7118, allocations: 55.41 kB / 0.7349 GB, free: 4.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.7121, allocations: 186.9 kB / 0.7351 GB, free: 4.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.7122, allocations: 33.7 kB / 0.7352 GB, free: 4.445 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.7123, allocations: 128.5 kB / 0.7353 GB, free: 4.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.7125, allocations: 71.08 kB / 0.7353 GB, free: 4.246 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.7126, allocations: 41.7 kB / 0.7354 GB, free: 4.199 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7127, allocations: 330.8 kB / 0.7357 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.7133, allocations: 195.8 kB / 0.7359 GB, free: 3.676 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.7139, allocations: 200.9 kB / 0.7361 GB, free: 3.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.715, allocations: 372.5 kB / 0.7364 GB, free: 3.113 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.715, allocations: 0 / 0.7364 GB, free: 3.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00126/0.7163, allocations: 473.4 kB / 0.7369 GB, free: 2.645 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.7163, allocations: 4 kB / 0.7369 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7163, allocations: 0 / 0.7369 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.7163, allocations: 11.94 kB / 0.7369 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.7168, allocations: 91.86 kB / 0.737 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.7168, allocations: 4 kB / 0.737 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.7171, allocations: 67.78 kB / 0.7371 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.7172, allocations: 8 kB / 0.7371 GB, free: 2.461 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: 26 (extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 prepare postOptimizeDAE: time 0.0001965/0.7174, allocations: 159.5 kB / 0.7372 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.7174, allocations: 19.72 kB / 0.7372 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.7175, allocations: 30.44 kB / 0.7373 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.7175, allocations: 4 kB / 0.7373 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.7175, allocations: 7.984 kB / 0.7373 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.7175, allocations: 0 / 0.7373 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.7193, allocations: 0.8768 MB / 0.7381 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.7194, allocations: 3.938 kB / 0.7381 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.7197, allocations: 63.92 kB / 0.7382 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7197, allocations: 0 / 0.7382 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.7197, allocations: 12 kB / 0.7382 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7197, allocations: 0 / 0.7382 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7197, allocations: 0 / 0.7382 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.7211, allocations: 0.5939 MB / 0.7388 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.7212, allocations: 108.6 kB / 0.7389 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.7212, allocations: 11.98 kB / 0.7389 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.7216, allocations: 55.94 kB / 0.739 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.7217, allocations: 35.95 kB / 0.739 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.7217, allocations: 19.98 kB / 0.739 GB, free: 380 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001717/0.7219, allocations: 135.1 kB / 0.7391 GB, free: 244 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7219, allocations: 0 / 0.7391 GB, free: 244 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002947/0.7222, allocations: 48 kB / 0.7392 GB, free: 196 kB / 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: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002961/0.7225, allocations: 123.2 kB / 0.7393 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.7238, allocations: 457 kB / 0.7397 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7239, allocations: 0 / 0.7397 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006399/0.7245, allocations: 231.8 kB / 0.74 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.7249, allocations: 41.97 kB / 0.74 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.7259, allocations: 0.5086 MB / 0.7405 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.7263, allocations: 0.7401 MB / 0.7412 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.7264, allocations: 33.92 kB / 0.7412 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.7266, allocations: 23.44 kB / 0.7413 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.7266, allocations: 0 / 0.7413 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of Templates: time 0.006808/0.7334, allocations: 2.884 MB / 0.7441 GB, free: 11.12 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) Environment - environmentSimulation: