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.676/1.676, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001161/0.001161, allocations: 189 kB / 371.8 MB, free: 10.26 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.758/1.758, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 83.48 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004363, allocations: 14.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.211, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.972/1.183, allocations: 420.3 MB / 1.39 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/1.183, allocations: 94.52 kB / 1.39 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.551/6.734, allocations: 1.454 GB / 2.844 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.378e-06/6.734, allocations: 0 / 2.844 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001476/6.736, allocations: 151.8 kB / 2.844 GB, free: 14.02 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.02556/6.761, allocations: 5.887 MB / 2.85 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.789e-05/6.762, allocations: 8.031 kB / 2.85 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008386/6.77, allocations: 0.8099 MB / 2.851 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02389/6.794, allocations: 6.815 MB / 2.858 GB, free: 320 kB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/6.794, allocations: 258.5 kB / 2.858 GB, free: 60 kB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002126/6.797, allocations: 356 kB / 2.858 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/6.809, allocations: 5.379 MB / 2.863 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.941e-05/6.809, allocations: 15.83 kB / 2.863 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006982/6.81, allocations: 144 kB / 2.864 GB, free: 9.926 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.274e-05/6.81, allocations: 84 kB / 2.864 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/6.82, allocations: 5.062 MB / 2.869 GB, free: 4.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 preOpt removeSimpleEquations (simulation): time 0.8515/7.672, allocations: 22.72 MB / 2.891 GB, free: 135.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006854/7.679, allocations: 2.728 MB / 2.893 GB, free: 135 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01772/7.696, allocations: 7.019 MB / 2.9 GB, free: 132.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004181/7.701, allocations: 1.838 MB / 2.902 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009206/7.71, allocations: 2.034 MB / 2.904 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=157): time 1.883e-05/7.71, allocations: 0 / 2.904 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=157): time 0.02007/7.73, allocations: 6.612 MB / 2.911 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/7.73, allocations: 157.9 kB / 2.911 GB, free: 132 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/7.743, allocations: 4.551 MB / 2.915 GB, free: 131.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0009985/7.744, allocations: 71.34 kB / 2.915 GB, free: 131.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004035/7.748, allocations: 2.454 MB / 2.918 GB, free: 131.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/7.75, allocations: 0.558 MB / 2.918 GB, free: 130.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006791/7.75, allocations: 53.97 kB / 2.918 GB, free: 130.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002934/7.751, allocations: 419.5 kB / 2.919 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/7.754, allocations: 1.525 MB / 2.92 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003932/7.758, allocations: 2.834 MB / 2.923 GB, free: 128.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004113/7.762, allocations: 1.988 MB / 2.925 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-05/7.762, allocations: 9.875 kB / 2.925 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01482/7.777, allocations: 5.565 MB / 2.93 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004856/7.782, allocations: 15.28 MB / 2.945 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/7.782, allocations: 34.88 kB / 2.945 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06947/7.851, allocations: 11.46 MB / 2.956 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/7.855, allocations: 0.6936 MB / 2.957 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007931/7.863, allocations: 4.726 MB / 2.962 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007681/7.87, allocations: 362.7 kB / 2.962 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/7.871, allocations: 153.3 kB / 2.962 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/7.871, allocations: 7.438 kB / 2.962 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01021/7.882, allocations: 5.032 MB / 2.967 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/7.882, allocations: 38 kB / 2.967 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06506/7.947, allocations: 11.38 MB / 2.978 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/7.95, allocations: 0.6909 MB / 2.979 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/7.963, allocations: 7.801 MB / 2.987 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008527/7.972, allocations: 336.2 kB / 2.987 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/7.973, allocations: 150.4 kB / 2.987 GB, free: 107 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 (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.005039/7.978, allocations: 1.553 MB / 2.989 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002899/7.981, allocations: 465.7 kB / 2.989 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/7.994, allocations: 4.584 MB / 2.993 GB, free: 106.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/7.994, allocations: 19.77 kB / 2.993 GB, free: 106.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/7.994, allocations: 2.281 kB / 2.993 GB, free: 106.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01314/8.007, allocations: 6.488 MB / 3 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0382/8.045, allocations: 13.16 MB / 3.013 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/8.046, allocations: 3.375 kB / 3.013 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/8.048, allocations: 421.7 kB / 3.013 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.065/8.113, allocations: 11.64 MB / 3.024 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006444/8.114, allocations: 51.3 kB / 3.024 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00617/8.12, allocations: 4.118 MB / 3.028 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/8.12, allocations: 0 / 3.028 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02175/8.142, allocations: 9.172 MB / 3.037 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005173/8.147, allocations: 1.115 MB / 3.039 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002244/8.15, allocations: 27.59 kB / 3.039 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005459/8.155, allocations: 300.2 kB / 3.039 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/8.156, allocations: 106.3 kB / 3.039 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005058/8.156, allocations: 83.7 kB / 3.039 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.007293/8.163, allocations: 3.511 MB / 3.042 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.51e-07/8.164, allocations: 3.594 kB / 3.042 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01415/8.178, allocations: 2.818 MB / 3.045 GB, free: 99.97 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 (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.003512/8.181, allocations: 1.254 MB / 3.046 GB, free: 99.67 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01701/8.198, allocations: 7.377 MB / 3.054 GB, free: 99.11 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/8.198, allocations: 0.8906 kB / 3.054 GB, free: 99.11 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005492/8.204, allocations: 2.472 MB / 3.056 GB, free: 99.07 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01441/8.218, allocations: 2.731 MB / 3.059 GB, free: 98.93 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/8.241, allocations: 11.03 MB / 3.069 GB, free: 94.67 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004988/8.246, allocations: 3.305 MB / 3.073 GB, free: 93.84 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007769/8.254, allocations: 1.685 MB / 3.074 GB, free: 93.64 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/8.256, allocations: 364.2 kB / 3.075 GB, free: 93.63 MB / 0.9792 GB Notification: Performance of SimCode: time 1.323e-06/8.256, allocations: 0 / 3.075 GB, free: 93.63 MB / 0.9792 GB Notification: Performance of Templates: time 0.1836/8.44, allocations: 114.5 MB / 3.187 GB, free: 32.98 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)