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.123/2.123, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 186.8 kB / 325.6 MB, free: 2.836 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.331/2.331, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001186/0.001186, allocations: 108.3 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004586, allocations: 12.98 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.5, allocations: 413.9 MB / 1.303 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/1.5, allocations: 91.72 kB / 1.303 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.828/9.328, allocations: 1.454 GB / 2.757 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.256e-06/9.328, allocations: 0 / 2.757 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001082/9.329, allocations: 151.8 kB / 2.757 GB, free: 0.6211 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.734/10.06, allocations: 5.893 MB / 2.763 GB, free: 122.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/10.06, allocations: 9.156 kB / 2.763 GB, free: 122.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006966/10.07, allocations: 0.8058 MB / 2.764 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03267/10.1, allocations: 6.806 MB / 2.771 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007798/10.1, allocations: 272.6 kB / 2.771 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002364/10.11, allocations: 347.6 kB / 2.771 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02486/10.13, allocations: 5.377 MB / 2.776 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001858/10.13, allocations: 6.906 kB / 2.776 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/10.13, allocations: 148.8 kB / 2.777 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/10.13, allocations: 82.94 kB / 2.777 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01776/10.15, allocations: 5.067 MB / 2.782 GB, free: 121.2 MB / 0.9011 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.05215/10.2, allocations: 22.74 MB / 2.804 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007646/10.21, allocations: 2.72 MB / 2.807 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01942/10.23, allocations: 7.019 MB / 2.813 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005181/10.23, allocations: 1.839 MB / 2.815 GB, free: 109 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01175/10.25, allocations: 2.026 MB / 2.817 GB, free: 108.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=157): time 1.76e-05/10.25, allocations: 0 / 2.817 GB, free: 108.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=157): time 0.03155/10.28, allocations: 6.629 MB / 2.824 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/10.28, allocations: 151.5 kB / 2.824 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/10.29, allocations: 4.554 MB / 2.828 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000805/10.29, allocations: 71.55 kB / 2.828 GB, free: 107.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003456/10.3, allocations: 2.451 MB / 2.831 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0012/10.3, allocations: 0.5514 MB / 2.831 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004795/10.3, allocations: 53.06 kB / 2.831 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002084/10.3, allocations: 414.3 kB / 2.832 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004203/10.3, allocations: 1.53 MB / 2.833 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005354/10.31, allocations: 2.827 MB / 2.836 GB, free: 104.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/10.31, allocations: 1.981 MB / 2.838 GB, free: 104.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-05/10.31, allocations: 11.16 kB / 2.838 GB, free: 104.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01683/10.33, allocations: 5.557 MB / 2.843 GB, free: 104.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.00327/10.33, allocations: 15.28 MB / 2.858 GB, free: 87.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/10.33, allocations: 40.41 kB / 2.858 GB, free: 87.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1472/10.48, allocations: 11.45 MB / 2.869 GB, free: 87.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007316/10.49, allocations: 0.6954 MB / 2.87 GB, free: 87.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/10.51, allocations: 4.723 MB / 2.875 GB, free: 86.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/10.52, allocations: 366.9 kB / 2.875 GB, free: 86.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/10.52, allocations: 155.8 kB / 2.875 GB, free: 86.27 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/10.52, allocations: 3.562 kB / 2.875 GB, free: 86.27 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01473/10.53, allocations: 5.029 MB / 2.88 GB, free: 86.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/10.53, allocations: 39.61 kB / 2.88 GB, free: 86.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.138/10.67, allocations: 11.38 MB / 2.891 GB, free: 85.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005311/10.68, allocations: 0.6906 MB / 2.892 GB, free: 85.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/10.69, allocations: 7.802 MB / 2.9 GB, free: 82.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007766/10.7, allocations: 348.8 kB / 2.9 GB, free: 82.44 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007664/10.7, allocations: 149.6 kB / 2.9 GB, free: 82.44 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 () * 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.004364/10.71, allocations: 1.546 MB / 2.902 GB, free: 82.23 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/10.71, allocations: 465.8 kB / 2.902 GB, free: 81.99 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/10.72, allocations: 4.58 MB / 2.906 GB, free: 81.78 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/10.72, allocations: 22.75 kB / 2.906 GB, free: 81.78 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/10.72, allocations: 0 / 2.906 GB, free: 81.78 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0233/10.74, allocations: 6.487 MB / 2.913 GB, free: 80.38 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05285/10.8, allocations: 13.16 MB / 2.926 GB, free: 79.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/10.8, allocations: 0 / 2.926 GB, free: 79.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004515/10.8, allocations: 426.3 kB / 2.926 GB, free: 79.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1346/10.94, allocations: 11.64 MB / 2.937 GB, free: 78.31 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005748/10.94, allocations: 46.39 kB / 2.938 GB, free: 78.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/10.95, allocations: 4.125 MB / 2.942 GB, free: 76.72 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/10.95, allocations: 0 / 2.942 GB, free: 76.72 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03616/10.98, allocations: 9.181 MB / 2.95 GB, free: 76.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004981/10.99, allocations: 1.101 MB / 2.952 GB, free: 75.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00217/10.99, allocations: 32.38 kB / 2.952 GB, free: 75.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007645/11, allocations: 296.4 kB / 2.952 GB, free: 75.72 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007763/11, allocations: 108.5 kB / 2.952 GB, free: 75.72 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004754/11, allocations: 80.31 kB / 2.952 GB, free: 75.72 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00908/11.01, allocations: 3.514 MB / 2.955 GB, free: 75.54 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.11e-07/11.01, allocations: 4 kB / 2.956 GB, free: 75.54 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01536/11.03, allocations: 2.821 MB / 2.958 GB, free: 75.28 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) * Number of clocked states: 0 () * 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.003552/11.03, allocations: 1.256 MB / 2.959 GB, free: 74.95 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02867/11.06, allocations: 7.366 MB / 2.967 GB, free: 74.39 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/11.06, allocations: 0.8906 kB / 2.967 GB, free: 74.39 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01022/11.07, allocations: 2.481 MB / 2.969 GB, free: 74.35 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02281/11.09, allocations: 2.714 MB / 2.972 GB, free: 74.21 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02669/11.12, allocations: 11.04 MB / 2.983 GB, free: 69.93 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005304/11.12, allocations: 3.309 MB / 2.986 GB, free: 69.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01073/11.13, allocations: 1.679 MB / 2.987 GB, free: 68.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002487/11.14, allocations: 360.2 kB / 2.988 GB, free: 68.89 MB / 0.9011 GB Notification: Performance of SimCode: time 2.545e-06/11.14, allocations: 0 / 2.988 GB, free: 68.89 MB / 0.9011 GB Notification: Performance of Templates: time 0.2644/11.4, allocations: 114.5 MB / 3.1 GB, free: 8.5 MB / 0.9323 GB