Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.342/2.342, allocations: 253.2 MB / 260.6 MB, free: 7.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 184.8 kB / 319.9 MB, free: 3.062 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 93.19 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.132e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 106.2 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.969/2.18, allocations: 414 MB / 1.293 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/2.18, allocations: 87.39 kB / 1.293 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.636/9.817, allocations: 1.441 GB / 2.734 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.693e-06/9.817, allocations: 0 / 2.734 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001096/9.818, allocations: 152.7 kB / 2.734 GB, free: 117.8 MB / 0.9011 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.01811/9.836, allocations: 4.584 MB / 2.739 GB, free: 116 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/9.836, allocations: 9.594 kB / 2.739 GB, free: 116 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006756/9.843, allocations: 0.799 MB / 2.74 GB, free: 115.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02649/9.869, allocations: 6.765 MB / 2.746 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/9.87, allocations: 103.9 kB / 2.746 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/9.871, allocations: 208.4 kB / 2.746 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01314/9.884, allocations: 4.727 MB / 2.751 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/9.899, allocations: 4.82 MB / 2.756 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/9.9, allocations: 8.844 kB / 2.756 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/9.901, allocations: 9.75 kB / 2.756 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.241e-05/9.901, allocations: 83.28 kB / 2.756 GB, free: 114.1 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.05146/9.952, allocations: 22.06 MB / 2.777 GB, free: 104.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006387/9.959, allocations: 2.643 MB / 2.78 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003534/9.962, allocations: 1.694 MB / 2.782 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02002/9.982, allocations: 6.898 MB / 2.788 GB, free: 101.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004154/9.986, allocations: 1.729 MB / 2.79 GB, free: 101.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01078/9.997, allocations: 1.96 MB / 2.792 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=157): time 1.816e-05/9.997, allocations: 0 / 2.792 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=157): time 0.04173/10.04, allocations: 6.215 MB / 2.798 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/10.04, allocations: 155.1 kB / 2.798 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/10.05, allocations: 3.963 MB / 2.802 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0008139/10.05, allocations: 32.95 kB / 2.802 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003324/10.05, allocations: 2.44 MB / 2.804 GB, free: 100.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/10.05, allocations: 0.5397 MB / 2.805 GB, free: 99.72 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/10.06, allocations: 0 / 2.805 GB, free: 99.72 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000194/10.06, allocations: 413.5 kB / 2.805 GB, free: 99.42 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/10.06, allocations: 1.455 MB / 2.807 GB, free: 99.41 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00449/10.06, allocations: 2.726 MB / 2.809 GB, free: 97.84 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/10.07, allocations: 2.506 MB / 2.812 GB, free: 97.81 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-05/10.08, allocations: 9.031 kB / 2.812 GB, free: 97.81 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.06742/10.14, allocations: 8.398 MB / 2.82 GB, free: 97.45 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003302/10.15, allocations: 15.03 MB / 2.835 GB, free: 81.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/10.15, allocations: 35.66 kB / 2.835 GB, free: 81.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07187/10.22, allocations: 6.209 MB / 2.841 GB, free: 81.65 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008015/10.23, allocations: 0.6951 MB / 2.842 GB, free: 81.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02569/10.25, allocations: 5.533 MB / 2.847 GB, free: 80.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/10.26, allocations: 305.8 kB / 2.847 GB, free: 79.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/10.27, allocations: 156 kB / 2.847 GB, free: 79.98 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/10.27, allocations: 3.562 kB / 2.847 GB, free: 79.98 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0911/10.36, allocations: 7.692 MB / 2.855 GB, free: 78.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001717/10.36, allocations: 33.56 kB / 2.855 GB, free: 78.63 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08416/10.44, allocations: 6.158 MB / 2.861 GB, free: 77.86 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005267/10.45, allocations: 0.6874 MB / 2.862 GB, free: 77.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02372/10.47, allocations: 8.232 MB / 2.87 GB, free: 73.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007664/10.48, allocations: 293.9 kB / 2.87 GB, free: 72.99 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/10.48, allocations: 148.4 kB / 2.87 GB, free: 72.97 MB / 0.9011 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 () * 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.001301/10.48, allocations: 203.9 kB / 2.87 GB, free: 72.79 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001753/10.48, allocations: 433.1 kB / 2.871 GB, free: 72.57 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02823/10.51, allocations: 5.719 MB / 2.876 GB, free: 69.91 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.682e-05/10.51, allocations: 13.91 kB / 2.876 GB, free: 69.91 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/10.51, allocations: 2.844 kB / 2.876 GB, free: 69.91 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02879/10.54, allocations: 6.861 MB / 2.883 GB, free: 64.07 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05842/10.6, allocations: 13.1 MB / 2.896 GB, free: 50.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/10.6, allocations: 0 / 2.896 GB, free: 50.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004455/10.6, allocations: 430.8 kB / 2.896 GB, free: 50.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00817/10.61, allocations: 2.452 MB / 2.899 GB, free: 48.08 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000569/10.61, allocations: 27.97 kB / 2.899 GB, free: 48.05 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/10.63, allocations: 4.804 MB / 2.903 GB, free: 43.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/10.63, allocations: 0 / 2.903 GB, free: 43.18 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04766/10.68, allocations: 10.01 MB / 2.913 GB, free: 33.12 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004866/10.68, allocations: 1.065 MB / 2.914 GB, free: 32.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001958/10.68, allocations: 11.94 kB / 2.914 GB, free: 32.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00726/10.69, allocations: 267.1 kB / 2.914 GB, free: 31.76 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007596/10.69, allocations: 105.1 kB / 2.915 GB, free: 31.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004756/10.69, allocations: 83.94 kB / 2.915 GB, free: 31.58 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.008037/10.7, allocations: 2.978 MB / 2.918 GB, free: 28.61 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.373e-06/10.7, allocations: 0 / 2.918 GB, free: 28.61 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01709/10.72, allocations: 2.732 MB / 2.92 GB, free: 25.87 MB / 0.9011 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * 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.003586/10.72, allocations: 1.198 MB / 2.921 GB, free: 24.79 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02521/10.75, allocations: 7.1 MB / 2.928 GB, free: 17.65 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/10.75, allocations: 5.016 kB / 2.928 GB, free: 17.65 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.009098/10.75, allocations: 2.387 MB / 2.931 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01995/10.77, allocations: 2.403 MB / 2.933 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/10.79, allocations: 7.552 MB / 2.94 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004441/10.8, allocations: 3.309 MB / 2.944 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01625/10.82, allocations: 2.786 MB / 2.946 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/10.82, allocations: 255.2 kB / 2.947 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of SimCode: time 1.313e-06/10.82, allocations: 0 / 2.947 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of Templates: time 0.9682/11.79, allocations: 105.5 MB / 3.05 GB, free: 129.9 MB / 0.9167 GB