Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.612/4.612, allocations: 0.5623 GB / 0.5769 GB, free: 3.363 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.002353/0.002353, allocations: 355.8 kB / 0.644 GB, free: 185.7 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 3.925/3.925, allocations: 410.7 MB / 1.112 GB, free: 6.078 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.001767/0.001767, allocations: 184.1 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 12 kB / 1.348 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5675/0.568, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.0679/0.6359, allocations: 74.4 MB / 1.533 GB, free: 210 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02952/0.6655, allocations: 20.72 MB / 1.554 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/0.6692, allocations: 91.31 kB / 1.554 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.6731, allocations: 1.134 MB / 1.555 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.6834, allocations: 3.303 MB / 1.558 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01194/0.6954, allocations: 3.929 MB / 1.562 GB, free: 181 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01583/0.7112, allocations: 17.4 MB / 1.579 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007013/0.7183, allocations: 5.187 MB / 1.584 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007808/0.7262, allocations: 4.466 MB / 1.588 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007266/0.7335, allocations: 4.579 MB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.7345, allocations: 260 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004521/0.7391, allocations: 1.334 MB / 1.594 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001724/0.7408, allocations: 1.218 MB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001897/0.7427, allocations: 1.104 MB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007725/0.7505, allocations: 6.874 MB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.222e-06/0.7505, allocations: 4 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.511e-06/0.7505, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001257/0.7507, allocations: 0 / 1.603 GB, free: 138.5 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: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01083/0.7615, allocations: 5.419 MB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.7616, allocations: 8.031 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004137/0.7657, allocations: 0.8402 MB / 1.609 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.7779, allocations: 5.021 MB / 1.614 GB, free: 127 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.7782, allocations: 271 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007111/0.7789, allocations: 344 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.7894, allocations: 5.723 MB / 1.62 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.391e-05/0.7896, allocations: 15.88 kB / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005352/0.7901, allocations: 152 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.128e-05/0.7902, allocations: 80 kB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.8014, allocations: 5.558 MB / 1.626 GB, free: 114.6 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.03495/0.8364, allocations: 23.99 MB / 1.65 GB, free: 89.49 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/0.8422, allocations: 2.804 MB / 1.652 GB, free: 86.69 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003517/0.8457, allocations: 1.932 MB / 1.654 GB, free: 84.76 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01355/0.8593, allocations: 7.143 MB / 1.661 GB, free: 77.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003584/0.8629, allocations: 1.943 MB / 1.663 GB, free: 75.34 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004714/0.8677, allocations: 1.247 MB / 1.664 GB, free: 74.09 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=155): time 6.844e-06/0.8677, allocations: 4 kB / 1.664 GB, free: 74.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=155): time 0.02433/0.8921, allocations: 7.643 MB / 1.672 GB, free: 66.37 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.8922, allocations: 145.8 kB / 1.672 GB, free: 66.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00752/0.8997, allocations: 4.844 MB / 1.677 GB, free: 61.36 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005134/0.9002, allocations: 69.7 kB / 1.677 GB, free: 61.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002189/0.9024, allocations: 2.44 MB / 1.679 GB, free: 58.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008306/0.9033, allocations: 0.5509 MB / 1.68 GB, free: 58.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.9036, allocations: 52 kB / 1.68 GB, free: 58.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.9037, allocations: 419.4 kB / 1.68 GB, free: 57.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/0.907, allocations: 1.66 MB / 1.682 GB, free: 56.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003866/0.9109, allocations: 2.901 MB / 1.685 GB, free: 52.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/0.9148, allocations: 2.104 MB / 1.687 GB, free: 50.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/0.9148, allocations: 11.95 kB / 1.687 GB, free: 50.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01289/0.9277, allocations: 6.021 MB / 1.692 GB, free: 44.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005298/0.9283, allocations: 1.096 MB / 1.694 GB, free: 42.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.812e-05/0.9284, allocations: 36 kB / 1.694 GB, free: 42.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07618/1.005, allocations: 11.88 MB / 1.705 GB, free: 31.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/1.008, allocations: 0.6629 MB / 1.706 GB, free: 30.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008768/1.017, allocations: 5.032 MB / 1.711 GB, free: 25.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005373/1.022, allocations: 343.7 kB / 1.711 GB, free: 24.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005567/1.023, allocations: 167.9 kB / 1.711 GB, free: 24.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/1.023, allocations: 7.594 kB / 1.711 GB, free: 24.73 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0103/1.033, allocations: 5.38 MB / 1.716 GB, free: 19.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.621e-05/1.033, allocations: 32 kB / 1.717 GB, free: 19.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0749/1.108, allocations: 11.67 MB / 1.728 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/1.112, allocations: 0.6474 MB / 1.729 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5301/1.642, allocations: 8.071 MB / 1.736 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.648, allocations: 324 kB / 1.737 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006853/1.648, allocations: 158 kB / 1.737 GB, free: 255.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.003395/1.652, allocations: 1.544 MB / 1.738 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.653, allocations: 468.7 kB / 1.739 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/1.665, allocations: 4.867 MB / 1.744 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/1.665, allocations: 24.84 kB / 1.744 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.156e-06/1.665, allocations: 0 / 1.744 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02394/1.689, allocations: 7.001 MB / 1.75 GB, free: 250.6 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 postOpt removeSimpleEquations (simulation): time 0.03929/1.728, allocations: 13.22 MB / 1.763 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/1.728, allocations: 6.891 kB / 1.763 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/1.732, allocations: 372.1 kB / 1.764 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07986/1.811, allocations: 11.89 MB / 1.775 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004836/1.812, allocations: 47.97 kB / 1.775 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007355/1.819, allocations: 4.37 MB / 1.78 GB, free: 230.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.502e-06/1.819, allocations: 0 / 1.78 GB, free: 230.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02832/1.848, allocations: 9.751 MB / 1.789 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003059/1.851, allocations: 1.067 MB / 1.79 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/1.852, allocations: 32 kB / 1.79 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004112/1.856, allocations: 278.3 kB / 1.791 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/1.856, allocations: 109.1 kB / 1.791 GB, free: 219.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/1.857, allocations: 78.45 kB / 1.791 GB, free: 219.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.005276/1.862, allocations: 3.31 MB / 1.794 GB, free: 216 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.112e-06/1.862, allocations: 0 / 1.794 GB, free: 216 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008765/1.871, allocations: 2.712 MB / 1.797 GB, free: 213.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001481/1.872, allocations: 0.5361 MB / 1.797 GB, free: 213 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0183/1.891, allocations: 7.559 MB / 1.804 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.504e-06/1.891, allocations: 4.891 kB / 1.804 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006668/1.897, allocations: 2.53 MB / 1.807 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01432/1.912, allocations: 2.78 MB / 1.81 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/1.93, allocations: 11.43 MB / 1.821 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/1.933, allocations: 3.31 MB / 1.824 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007585/1.941, allocations: 1.7 MB / 1.826 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/1.943, allocations: 351.3 kB / 1.826 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.768e-06/1.943, allocations: 0 / 1.826 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.1934/2.136, allocations: 107.2 MB / 1.931 GB, free: 77.57 MB / 0.8542 GB