Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.418/4.418, allocations: 0.5623 GB / 0.5769 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002559/0.002559, allocations: 358.4 kB / 0.644 GB, free: 21.55 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.799/3.799, allocations: 410.7 MB / 1.112 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001757/0.001757, allocations: 189.9 kB / 1.225 GB, free: 9.527 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005097, allocations: 12 kB / 1.348 GB, free: 84.64 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1659, allocations: 115.3 MB / 1.461 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.5533/0.7192, allocations: 41.14 MB / 1.501 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02259/0.7418, allocations: 12.08 MB / 1.513 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.7437, allocations: 36.72 kB / 1.513 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.7454, allocations: 469.1 kB / 1.513 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007323/0.7528, allocations: 1.904 MB / 1.515 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.7581, allocations: 1.203 MB / 1.516 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006178/0.7643, allocations: 3.609 MB / 1.52 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.7659, allocations: 0.7502 MB / 1.52 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.7686, allocations: 1.02 MB / 1.521 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.7701, allocations: 0.8311 MB / 1.522 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.7703, allocations: 46.03 kB / 1.522 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.774, allocations: 0.9518 MB / 1.523 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000528/0.7746, allocations: 199.3 kB / 1.523 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006816/0.7753, allocations: 266.4 kB / 1.524 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003694/0.779, allocations: 1.681 MB / 1.525 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.132e-06/0.779, allocations: 3.984 kB / 1.525 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.306e-06/0.779, allocations: 1.219 kB / 1.525 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.7791, allocations: 0 / 1.525 GB, free: 15.56 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003617/0.7827, allocations: 1.418 MB / 1.527 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.7828, allocations: 8.844 kB / 1.527 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.7832, allocations: 134.4 kB / 1.527 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.7866, allocations: 1.163 MB / 1.528 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/0.7867, allocations: 60.83 kB / 1.528 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.7869, allocations: 72.44 kB / 1.528 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.7887, allocations: 0.7534 MB / 1.529 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.7888, allocations: 1 kB / 1.529 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-05/0.7889, allocations: 29.72 kB / 1.529 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/0.789, allocations: 17.78 kB / 1.529 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.7904, allocations: 0.5251 MB / 1.529 GB, free: 12.65 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00741/0.7978, allocations: 4.521 MB / 1.534 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009506/0.7988, allocations: 368.6 kB / 1.534 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.7993, allocations: 212.2 kB / 1.534 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/0.8012, allocations: 1.519 MB / 1.536 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.8012, allocations: 36.69 kB / 1.536 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 3.814e-06/0.8013, allocations: 0 / 1.536 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.003267/0.8045, allocations: 0.8842 MB / 1.537 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.8046, allocations: 59.5 kB / 1.537 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.8065, allocations: 0.8779 MB / 1.538 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/0.8066, allocations: 36.55 kB / 1.538 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00055/0.8072, allocations: 497.1 kB / 1.538 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.8074, allocations: 150.4 kB / 1.538 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.8075, allocations: 9.25 kB / 1.538 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.8077, allocations: 331.4 kB / 1.539 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.8081, allocations: 170.3 kB / 1.539 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.8087, allocations: 328.5 kB / 1.539 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/0.8093, allocations: 227.4 kB / 1.539 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.084e-06/0.8094, allocations: 0.9375 kB / 1.539 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002175/0.8116, allocations: 0.7206 MB / 1.54 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.8118, allocations: 213.5 kB / 1.54 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.8118, allocations: 6.062 kB / 1.54 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007313/0.8125, allocations: 117.5 kB / 1.54 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.8131, allocations: 119.7 kB / 1.541 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00072/0.8139, allocations: 0.6239 MB / 1.541 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.8149, allocations: 93.3 kB / 1.541 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.8151, allocations: 34.66 kB / 1.541 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.925e-06/0.8151, allocations: 3.438 kB / 1.541 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001866/0.817, allocations: 0.6089 MB / 1.542 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.817, allocations: 6.438 kB / 1.542 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000673/0.8177, allocations: 108.4 kB / 1.542 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.8182, allocations: 124.5 kB / 1.542 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006851/0.8189, allocations: 0.6235 MB / 1.543 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.82, allocations: 93.11 kB / 1.543 GB, free: 1.438 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-05/0.8201, allocations: 29.48 kB / 1.543 GB, free: 1.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006721/0.8208, allocations: 344.4 kB / 1.543 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.821, allocations: 92.94 kB / 1.543 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.8238, allocations: 1.009 MB / 1.544 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-05/0.8239, allocations: 14.2 kB / 1.544 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.078e-06/0.8239, allocations: 5.094 kB / 1.544 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001955/0.8258, allocations: 0.9235 MB / 1.545 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004563/0.8304, allocations: 1.95 MB / 1.547 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.692e-05/0.8305, allocations: 7.984 kB / 1.547 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.831, allocations: 87.89 kB / 1.547 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.8315, allocations: 84.89 kB / 1.547 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.8316, allocations: 19.98 kB / 1.547 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000648/0.8322, allocations: 0.6148 MB / 1.548 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.141e-06/0.8323, allocations: 4.031 kB / 1.548 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.8352, allocations: 1.259 MB / 1.549 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007054/0.8359, allocations: 299.5 kB / 1.549 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.8361, allocations: 12 kB / 1.549 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/0.8369, allocations: 59.8 kB / 1.549 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.8371, allocations: 48.48 kB / 1.549 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/0.8372, allocations: 35.92 kB / 1.549 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001305/0.8385, allocations: 0.602 MB / 1.55 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.5e-07/0.8385, allocations: 4 kB / 1.55 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00215/0.8407, allocations: 0.6159 MB / 1.551 GB, free: 10.23 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * 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 (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/0.8419, allocations: 0.5039 MB / 1.551 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002187/0.8441, allocations: 0.9229 MB / 1.552 GB, free: 8.797 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.8441, allocations: 1.5 kB / 1.552 GB, free: 8.797 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008418/0.845, allocations: 406.8 kB / 1.552 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/0.8478, allocations: 481.2 kB / 1.553 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.8521, allocations: 2.343 MB / 1.555 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000931/0.853, allocations: 1.077 MB / 1.556 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001275/0.8543, allocations: 267.3 kB / 1.557 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.8546, allocations: 99.34 kB / 1.557 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of SimCode: time 1.653e-06/0.8546, allocations: 0 / 1.557 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of Templates: time 0.05446/0.9091, allocations: 23.07 MB / 1.579 GB, free: 13.32 MB / 0.698 GB