Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.942/1.942, allocations: 285.6 MB / 293.1 MB, free: 10.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 176.9 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00092/0.0009199, allocations: 87.27 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.537e-05, allocations: 4 kB / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/0.7608, allocations: 115.3 MB / 0.9643 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.994, allocations: 419.6 MB / 1.374 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.994, allocations: 86.06 kB / 1.374 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.238/8.232, allocations: 1.441 GB / 2.815 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.974e-06/8.232, allocations: 0 / 2.815 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0009863/8.233, allocations: 156.8 kB / 2.815 GB, free: 135.3 MB / 0.9636 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.01685/8.25, allocations: 4.579 MB / 2.82 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/8.25, allocations: 17.38 kB / 2.82 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005958/8.256, allocations: 0.8039 MB / 2.821 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02188/8.278, allocations: 6.754 MB / 2.827 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/8.279, allocations: 102.2 kB / 2.827 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/8.28, allocations: 206.7 kB / 2.828 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008836/8.289, allocations: 4.736 MB / 2.832 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009128/8.298, allocations: 4.809 MB / 2.837 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.118e-05/8.298, allocations: 11.78 kB / 2.837 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005619/8.299, allocations: 9.375 kB / 2.837 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/8.299, allocations: 89.38 kB / 2.837 GB, free: 131.7 MB / 0.9636 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.04039/8.339, allocations: 22.07 MB / 2.859 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004325/8.343, allocations: 2.656 MB / 2.861 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/8.346, allocations: 1.701 MB / 2.863 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01429/8.36, allocations: 6.903 MB / 2.87 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002607/8.363, allocations: 1.736 MB / 2.871 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007191/8.37, allocations: 1.95 MB / 2.873 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=157): time 1.518e-05/8.37, allocations: 0 / 2.873 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=157): time 0.02357/8.394, allocations: 6.212 MB / 2.879 GB, free: 119 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/8.394, allocations: 150 kB / 2.879 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/8.404, allocations: 3.959 MB / 2.883 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0009075/8.405, allocations: 33.52 kB / 2.883 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003309/8.408, allocations: 2.442 MB / 2.886 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/8.409, allocations: 0.5373 MB / 2.886 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005016/8.41, allocations: 0 / 2.886 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002451/8.41, allocations: 416.8 kB / 2.887 GB, free: 117 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/8.413, allocations: 1.453 MB / 2.888 GB, free: 117 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003322/8.416, allocations: 2.734 MB / 2.891 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00726/8.423, allocations: 2.506 MB / 2.893 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.767e-05/8.423, allocations: 11.62 kB / 2.893 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.03939/8.463, allocations: 8.397 MB / 2.901 GB, free: 115 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004135/8.467, allocations: 15.03 MB / 2.916 GB, free: 99.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/8.467, allocations: 38.86 kB / 2.916 GB, free: 99.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03173/8.499, allocations: 6.204 MB / 2.922 GB, free: 99.21 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/8.502, allocations: 0.6966 MB / 2.923 GB, free: 99.21 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/8.513, allocations: 5.531 MB / 2.928 GB, free: 97.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006515/8.52, allocations: 301.9 kB / 2.929 GB, free: 97.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009774/8.521, allocations: 157.8 kB / 2.929 GB, free: 97.57 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/8.521, allocations: 5.188 kB / 2.929 GB, free: 97.57 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03447/8.555, allocations: 7.693 MB / 2.936 GB, free: 96.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/8.555, allocations: 40.02 kB / 2.936 GB, free: 96.39 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03181/8.587, allocations: 6.146 MB / 2.942 GB, free: 95.62 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/8.591, allocations: 0.6882 MB / 2.943 GB, free: 95.56 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/8.605, allocations: 8.233 MB / 2.951 GB, free: 90.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006065/8.611, allocations: 288.3 kB / 2.951 GB, free: 90.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009171/8.612, allocations: 151.9 kB / 2.951 GB, free: 90.74 MB / 0.9636 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.001563/8.613, allocations: 200.8 kB / 2.952 GB, free: 90.57 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002074/8.615, allocations: 436.6 kB / 2.952 GB, free: 90.34 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/8.632, allocations: 5.726 MB / 2.958 GB, free: 88.63 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/8.632, allocations: 15.16 kB / 2.958 GB, free: 88.63 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/8.632, allocations: 3.953 kB / 2.958 GB, free: 88.62 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01597/8.648, allocations: 6.861 MB / 2.964 GB, free: 85.57 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03978/8.688, allocations: 13.1 MB / 2.977 GB, free: 80.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.436e-05/8.688, allocations: 3.953 kB / 2.977 GB, free: 80.01 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002631/8.691, allocations: 428.9 kB / 2.977 GB, free: 79.89 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004487/8.695, allocations: 2.453 MB / 2.98 GB, free: 78.09 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004821/8.696, allocations: 23.97 kB / 2.98 GB, free: 78.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009029/8.705, allocations: 4.808 MB / 2.985 GB, free: 73.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/8.705, allocations: 0 / 2.985 GB, free: 73.18 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02833/8.733, allocations: 10 MB / 2.994 GB, free: 63.16 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005656/8.739, allocations: 1.073 MB / 2.995 GB, free: 62.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002808/8.742, allocations: 7.938 kB / 2.995 GB, free: 62.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006061/8.748, allocations: 267.2 kB / 2.996 GB, free: 61.79 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005335/8.749, allocations: 109.1 kB / 2.996 GB, free: 61.69 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004674/8.749, allocations: 79.92 kB / 2.996 GB, free: 61.61 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.007344/8.756, allocations: 2.985 MB / 2.999 GB, free: 58.64 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.31e-07/8.756, allocations: 0 / 2.999 GB, free: 58.64 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0172/8.774, allocations: 2.732 MB / 3.001 GB, free: 55.9 MB / 0.9636 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.004553/8.778, allocations: 1.182 MB / 3.003 GB, free: 54.84 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01826/8.797, allocations: 7.113 MB / 3.01 GB, free: 47.68 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/8.797, allocations: 5.016 kB / 3.01 GB, free: 47.67 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.005387/8.802, allocations: 2.387 MB / 3.012 GB, free: 45.29 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01481/8.817, allocations: 2.41 MB / 3.014 GB, free: 42.96 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/8.837, allocations: 7.541 MB / 3.022 GB, free: 35.39 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005646/8.843, allocations: 3.317 MB / 3.025 GB, free: 32.04 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01492/8.858, allocations: 2.788 MB / 3.028 GB, free: 29.36 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/8.86, allocations: 255.3 kB / 3.028 GB, free: 29.11 MB / 0.9636 GB Notification: Performance of SimCode: time 1.292e-06/8.86, allocations: 0 / 3.028 GB, free: 29.11 MB / 0.9636 GB Notification: Performance of Templates: time 0.9102/9.77, allocations: 105.5 MB / 3.131 GB, free: 147.3 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)