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 5.102/5.102, allocations: 0.5623 GB / 0.5776 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003326/0.003326, allocations: 363.9 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.268/4.268, allocations: 410.7 MB / 1.113 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002384/0.002384, allocations: 180 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005233/0.0005236, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.729, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05314/0.7822, allocations: 41.14 MB / 1.502 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.8026, allocations: 12.07 MB / 1.513 GB, free: 231.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.8047, allocations: 36.69 kB / 1.513 GB, free: 231.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.8071, allocations: 477.8 kB / 1.514 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007538/0.8147, allocations: 1.901 MB / 1.516 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005155/0.8199, allocations: 1.195 MB / 1.517 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005474/0.8254, allocations: 3.62 MB / 1.52 GB, free: 224 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.8272, allocations: 0.738 MB / 1.521 GB, free: 223.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.8302, allocations: 1.028 MB / 1.522 GB, free: 222.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.8323, allocations: 0.8298 MB / 1.523 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003641/0.8327, allocations: 44.53 kB / 1.523 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003568/0.8363, allocations: 0.9486 MB / 1.524 GB, free: 220.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004868/0.8368, allocations: 203 kB / 1.524 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005436/0.8374, allocations: 270.2 kB / 1.524 GB, free: 220 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.8408, allocations: 1.676 MB / 1.526 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.8408, allocations: 4 kB / 1.526 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8409, allocations: 2.75 kB / 1.526 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.171e-05/0.8409, allocations: 0 / 1.526 GB, free: 218.3 MB / 0.8542 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.004382/0.8453, allocations: 1.416 MB / 1.527 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.8454, allocations: 11.62 kB / 1.527 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006176/0.846, allocations: 135.1 kB / 1.527 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003891/0.8499, allocations: 1.166 MB / 1.529 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.85, allocations: 49.31 kB / 1.529 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.8502, allocations: 76.42 kB / 1.529 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.852, allocations: 0.751 MB / 1.529 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/0.8521, allocations: 4 kB / 1.529 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/0.8522, allocations: 32.42 kB / 1.53 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-05/0.8522, allocations: 20 kB / 1.53 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.8536, allocations: 0.5281 MB / 1.53 GB, free: 214 MB / 0.8542 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.00644/0.8601, allocations: 4.521 MB / 1.534 GB, free: 209.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009548/0.8611, allocations: 372.8 kB / 1.535 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.8615, allocations: 204 kB / 1.535 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/0.8631, allocations: 1.517 MB / 1.536 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.8631, allocations: 42.55 kB / 1.537 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=43): time 4.349e-06/0.8631, allocations: 1.281 kB / 1.537 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43): time 0.003439/0.8666, allocations: 0.8805 MB / 1.537 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.8666, allocations: 59.19 kB / 1.537 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.8684, allocations: 0.8806 MB / 1.538 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.8686, allocations: 33.7 kB / 1.538 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.869, allocations: 0.4925 MB / 1.539 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.8692, allocations: 145.8 kB / 1.539 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.8693, allocations: 12.53 kB / 1.539 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.8694, allocations: 327.3 kB / 1.539 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.87, allocations: 177 kB / 1.539 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.8705, allocations: 327.1 kB / 1.54 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.8711, allocations: 228.6 kB / 1.54 GB, free: 203 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.8711, allocations: 0 / 1.54 GB, free: 203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00231/0.8735, allocations: 0.7245 MB / 1.541 GB, free: 202.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.8736, allocations: 209.2 kB / 1.541 GB, free: 202 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.8737, allocations: 7.984 kB / 1.541 GB, free: 202 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009006/0.8746, allocations: 110.4 kB / 1.541 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000785/0.8754, allocations: 119.8 kB / 1.541 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006172/0.876, allocations: 0.6226 MB / 1.542 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.8773, allocations: 91.39 kB / 1.542 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.8775, allocations: 31.98 kB / 1.542 GB, free: 201 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8775, allocations: 11.95 kB / 1.542 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002081/0.8796, allocations: 0.5976 MB / 1.542 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/0.8796, allocations: 7.984 kB / 1.542 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008096/0.8805, allocations: 121 kB / 1.543 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.8812, allocations: 115.8 kB / 1.543 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006076/0.8818, allocations: 0.6226 MB / 1.543 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.8832, allocations: 95.45 kB / 1.543 GB, free: 199.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.8834, allocations: 27.98 kB / 1.543 GB, free: 199.4 MB / 0.8542 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.0007203/0.8841, allocations: 337 kB / 1.544 GB, free: 199 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.8844, allocations: 98.86 kB / 1.544 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.8874, allocations: 1.021 MB / 1.545 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001902/0.8894, allocations: 0.9202 MB / 1.546 GB, free: 197 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/0.8894, allocations: 3.953 kB / 1.546 GB, free: 197 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000757/0.8902, allocations: 299.4 kB / 1.546 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.8905, allocations: 8 kB / 1.546 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.8915, allocations: 53.7 kB / 1.546 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.8917, allocations: 60.42 kB / 1.546 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002332/0.894, allocations: 0.8369 MB / 1.547 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00248/0.8965, allocations: 1.271 MB / 1.548 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006547/0.8972, allocations: 320.4 kB / 1.548 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001395/0.8987, allocations: 0.6098 MB / 1.549 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of Backend: time 8.31e-07/0.8987, allocations: 4 kB / 1.549 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003974/0.9027, allocations: 1.204 MB / 1.55 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.007173/0.9099, allocations: 2.979 MB / 1.553 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.05596/0.9659, allocations: 24.02 MB / 1.577 GB, free: 165.7 MB / 0.8542 GB