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.339/2.339, allocations: 252.6 MB / 265.2 MB, free: 5.75 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.001494/0.001494, allocations: 179.9 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001074/0.001073, allocations: 101.4 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.723e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1933, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.889/2.082, allocations: 413.8 MB / 1.299 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/2.082, allocations: 82.75 kB / 1.299 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.713/9.796, allocations: 1.449 GB / 2.748 GB, free: 118.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.863e-06/9.796, allocations: 1.688 kB / 2.748 GB, free: 118.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001133/9.797, allocations: 157.2 kB / 2.748 GB, free: 118.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.01904/9.816, allocations: 4.577 MB / 2.753 GB, free: 117 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/9.816, allocations: 9.906 kB / 2.753 GB, free: 117 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006904/9.823, allocations: 0.8029 MB / 2.753 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02816/9.851, allocations: 6.761 MB / 2.76 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000459/9.852, allocations: 265.3 kB / 2.76 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/9.853, allocations: 350.5 kB / 2.761 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/9.87, allocations: 5.275 MB / 2.766 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002021/9.87, allocations: 11.16 kB / 2.766 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/9.872, allocations: 153.7 kB / 2.766 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.418e-05/9.872, allocations: 84.56 kB / 2.766 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/9.886, allocations: 4.91 MB / 2.771 GB, free: 115.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.05531/9.942, allocations: 22.72 MB / 2.793 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/9.953, allocations: 2.604 MB / 2.795 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00635/9.96, allocations: 1.704 MB / 2.797 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03094/9.991, allocations: 7.023 MB / 2.804 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007004/9.998, allocations: 1.794 MB / 2.806 GB, free: 102.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01728/10.02, allocations: 2.029 MB / 2.808 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=157): time 1.641e-05/10.02, allocations: 0 / 2.808 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=157): time 0.03577/10.05, allocations: 5.554 MB / 2.813 GB, free: 102.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/10.05, allocations: 156.5 kB / 2.813 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/10.06, allocations: 4.5 MB / 2.818 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0007877/10.06, allocations: 78.42 kB / 2.818 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00427/10.07, allocations: 2.446 MB / 2.82 GB, free: 98.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/10.07, allocations: 0.5574 MB / 2.821 GB, free: 98.41 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000507/10.07, allocations: 52.97 kB / 2.821 GB, free: 98.38 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002682/10.07, allocations: 413 kB / 2.821 GB, free: 98.03 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005021/10.08, allocations: 1.464 MB / 2.823 GB, free: 97.47 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007063/10.08, allocations: 2.774 MB / 2.825 GB, free: 95.27 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006557/10.09, allocations: 1.948 MB / 2.827 GB, free: 94.55 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.647e-05/10.09, allocations: 10.53 kB / 2.827 GB, free: 94.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.07771/10.17, allocations: 7.966 MB / 2.835 GB, free: 92.39 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003548/10.17, allocations: 15.28 MB / 2.85 GB, free: 75.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/10.17, allocations: 39.33 kB / 2.85 GB, free: 75.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1928/10.36, allocations: 15.4 MB / 2.865 GB, free: 73.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005591/10.37, allocations: 0.6982 MB / 2.866 GB, free: 72.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/10.39, allocations: 4.703 MB / 2.87 GB, free: 67.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01393/10.4, allocations: 367.4 kB / 2.871 GB, free: 67.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/10.4, allocations: 151.9 kB / 2.871 GB, free: 67.19 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/10.4, allocations: 10.66 kB / 2.871 GB, free: 67.18 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06087/10.47, allocations: 7.454 MB / 2.878 GB, free: 59.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/10.47, allocations: 36 kB / 2.878 GB, free: 59.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1917/10.66, allocations: 15.32 MB / 2.893 GB, free: 44.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005386/10.66, allocations: 0.6902 MB / 2.894 GB, free: 43.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02506/10.69, allocations: 7.705 MB / 2.901 GB, free: 35.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/10.7, allocations: 345.8 kB / 2.902 GB, free: 35.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009527/10.7, allocations: 152 kB / 2.902 GB, free: 35.21 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.001365/10.7, allocations: 289.4 kB / 2.902 GB, free: 34.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001963/10.7, allocations: 469.7 kB / 2.902 GB, free: 34.45 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05437/10.76, allocations: 6.594 MB / 2.909 GB, free: 27.88 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-05/10.76, allocations: 16 kB / 2.909 GB, free: 27.86 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/10.76, allocations: 3.938 kB / 2.909 GB, free: 27.86 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02256/10.78, allocations: 6.371 MB / 2.915 GB, free: 21.24 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05146/10.83, allocations: 13.03 MB / 2.928 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/10.83, allocations: 0 / 2.928 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004534/10.84, allocations: 423.5 kB / 2.928 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.134/10.97, allocations: 11.64 MB / 2.94 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005736/10.97, allocations: 50.92 kB / 2.94 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/10.98, allocations: 4.112 MB / 2.944 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/10.98, allocations: 0 / 2.944 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7373/11.72, allocations: 9.013 MB / 2.952 GB, free: 138.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005451/11.73, allocations: 1.104 MB / 2.954 GB, free: 138.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/11.73, allocations: 29.05 kB / 2.954 GB, free: 138.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007782/11.74, allocations: 297.2 kB / 2.954 GB, free: 138.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000752/11.74, allocations: 105.6 kB / 2.954 GB, free: 138.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004729/11.74, allocations: 83.19 kB / 2.954 GB, free: 138.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.009995/11.75, allocations: 3.466 MB / 2.957 GB, free: 138.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.61e-07/11.75, allocations: 0 / 2.957 GB, free: 138.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02169/11.77, allocations: 2.813 MB / 2.96 GB, free: 138.6 MB / 0.9167 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.004522/11.77, allocations: 1.25 MB / 2.961 GB, free: 138.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03019/11.8, allocations: 7.341 MB / 2.969 GB, free: 138 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/11.8, allocations: 3.234 kB / 2.969 GB, free: 138 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01063/11.81, allocations: 2.417 MB / 2.971 GB, free: 138 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02516/11.84, allocations: 2.712 MB / 2.974 GB, free: 137.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02587/11.87, allocations: 7.733 MB / 2.981 GB, free: 136.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007196/11.87, allocations: 3.321 MB / 2.984 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01888/11.89, allocations: 3.007 MB / 2.987 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/11.89, allocations: 256.9 kB / 2.988 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.462e-06/11.89, allocations: 4.094 kB / 2.988 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.2839/12.18, allocations: 124.2 MB / 3.109 GB, free: 130 MB / 0.9167 GB