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 5.054/5.054, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 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.002619/0.002619, allocations: 353.5 kB / 0.6446 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.342/4.342, allocations: 410.7 MB / 1.113 GB, free: 5.984 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.001805/0.001805, allocations: 198.9 kB / 1.226 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005008, allocations: 12 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7466, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.973, allocations: 420.2 MB / 1.872 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.973, allocations: 103.2 kB / 1.872 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.847/9.82, allocations: 1.442 GB / 3.313 GB, free: 157.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.118e-06/9.82, allocations: 3.875 kB / 3.313 GB, free: 157.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00125/9.822, allocations: 156.6 kB / 3.313 GB, free: 157.6 MB / 0.9792 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.03384/9.855, allocations: 5.896 MB / 3.319 GB, free: 155.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/9.856, allocations: 14.59 kB / 3.319 GB, free: 155.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008834/9.864, allocations: 0.8071 MB / 3.32 GB, free: 155.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02904/9.893, allocations: 6.47 MB / 3.326 GB, free: 154.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/9.894, allocations: 262.6 kB / 3.327 GB, free: 154.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/9.896, allocations: 346.5 kB / 3.327 GB, free: 154.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/9.912, allocations: 5.402 MB / 3.332 GB, free: 153.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001447/9.912, allocations: 12.16 kB / 3.332 GB, free: 153.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000972/9.913, allocations: 141.1 kB / 3.332 GB, free: 153.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.619e-05/9.913, allocations: 91.7 kB / 3.332 GB, free: 153.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01626/9.929, allocations: 5.065 MB / 3.337 GB, free: 153.4 MB / 0.9792 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.05865/9.988, allocations: 22.59 MB / 3.359 GB, free: 143.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00712/9.995, allocations: 2.62 MB / 3.362 GB, free: 143.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004443/10, allocations: 1.815 MB / 3.364 GB, free: 143.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.019/10.02, allocations: 6.97 MB / 3.371 GB, free: 140.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004801/10.02, allocations: 1.846 MB / 3.372 GB, free: 140.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01108/10.03, allocations: 2.033 MB / 3.374 GB, free: 140.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=156): time 1.557e-05/10.03, allocations: 0 / 3.374 GB, free: 140.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=156): time 0.0341/10.07, allocations: 6.95 MB / 3.381 GB, free: 139.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/10.07, allocations: 146.8 kB / 3.381 GB, free: 139.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/10.08, allocations: 4.813 MB / 3.386 GB, free: 137.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0007557/10.08, allocations: 71.2 kB / 3.386 GB, free: 137.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003291/10.08, allocations: 2.434 MB / 3.388 GB, free: 135.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/10.09, allocations: 0.559 MB / 3.389 GB, free: 135.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/10.09, allocations: 51.59 kB / 3.389 GB, free: 135.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001921/10.09, allocations: 411.5 kB / 3.389 GB, free: 134.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/10.09, allocations: 1.528 MB / 3.391 GB, free: 134.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005228/10.1, allocations: 2.845 MB / 3.394 GB, free: 132 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005211/10.1, allocations: 1.991 MB / 3.396 GB, free: 131.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.435e-05/10.1, allocations: 7.125 kB / 3.396 GB, free: 131.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.0177/10.12, allocations: 5.66 MB / 3.401 GB, free: 129 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007153/10.12, allocations: 1.09 MB / 3.402 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-05/10.12, allocations: 38.42 kB / 3.402 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1452/10.26, allocations: 11.59 MB / 3.414 GB, free: 126.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00522/10.27, allocations: 0.6482 MB / 3.414 GB, free: 125.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/10.28, allocations: 4.727 MB / 3.419 GB, free: 121.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008089/10.29, allocations: 345.1 kB / 3.419 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009023/10.29, allocations: 156.9 kB / 3.419 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/10.29, allocations: 4 kB / 3.419 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.014/10.31, allocations: 5.032 MB / 3.424 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/10.31, allocations: 39.94 kB / 3.424 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1433/10.45, allocations: 11.38 MB / 3.435 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005073/10.45, allocations: 0.6396 MB / 3.436 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/10.47, allocations: 7.726 MB / 3.444 GB, free: 96.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007728/10.48, allocations: 339.5 kB / 3.444 GB, free: 96.08 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009901/10.48, allocations: 148 kB / 3.444 GB, free: 95.94 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 279 * 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.004828/10.49, allocations: 1.564 MB / 3.446 GB, free: 94.36 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00172/10.49, allocations: 462.3 kB / 3.446 GB, free: 93.91 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/10.5, allocations: 4.577 MB / 3.45 GB, free: 89.37 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.515e-05/10.5, allocations: 23.92 kB / 3.451 GB, free: 89.34 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/10.5, allocations: 0 / 3.451 GB, free: 89.34 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03735/10.54, allocations: 7.333 MB / 3.458 GB, free: 81.77 MB / 0.9792 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.05532/10.6, allocations: 13.22 MB / 3.471 GB, free: 68.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/10.6, allocations: 0 / 3.471 GB, free: 68.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004222/10.6, allocations: 378.9 kB / 3.471 GB, free: 68.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1401/10.74, allocations: 11.63 MB / 3.482 GB, free: 56.54 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005913/10.74, allocations: 51.92 kB / 3.482 GB, free: 56.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/10.75, allocations: 4.132 MB / 3.486 GB, free: 52.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/10.75, allocations: 0 / 3.486 GB, free: 52.29 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0451/10.8, allocations: 9.669 MB / 3.496 GB, free: 42.58 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004853/10.8, allocations: 1.046 MB / 3.497 GB, free: 41.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002311/10.8, allocations: 32 kB / 3.497 GB, free: 41.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007641/10.81, allocations: 291.1 kB / 3.497 GB, free: 41.19 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000711/10.81, allocations: 105.1 kB / 3.497 GB, free: 41.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004777/10.81, allocations: 86.92 kB / 3.497 GB, free: 41.01 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00865/10.82, allocations: 3.275 MB / 3.501 GB, free: 37.75 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.31e-07/10.82, allocations: 0 / 3.501 GB, free: 37.75 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01571/10.84, allocations: 2.788 MB / 3.503 GB, free: 34.96 MB / 0.9792 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 (128): * Single equations (assignments): 119 * 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.003876/10.84, allocations: 1.216 MB / 3.504 GB, free: 33.89 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02912/10.87, allocations: 7.36 MB / 3.512 GB, free: 26.49 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/10.87, allocations: 9.016 kB / 3.512 GB, free: 26.48 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/10.88, allocations: 2.475 MB / 3.514 GB, free: 24.01 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02465/10.91, allocations: 2.738 MB / 3.517 GB, free: 21.34 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/10.93, allocations: 11 MB / 3.527 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004726/10.94, allocations: 3.31 MB / 3.531 GB, free: 7.023 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01033/10.95, allocations: 1.68 MB / 3.532 GB, free: 5.406 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002284/10.95, allocations: 347.2 kB / 3.533 GB, free: 5.066 MB / 0.9792 GB Notification: Performance of SimCode: time 1.573e-06/10.95, allocations: 4 kB / 3.533 GB, free: 5.062 MB / 0.9792 GB Notification: Performance of Templates: time 1.02/11.97, allocations: 112.7 MB / 3.643 GB, free: 167.5 MB / 0.9948 GB