Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001174/0.001174, allocations: 181 kB / 377.1 MB, free: 1.555 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.744/1.744, allocations: 205.4 MB / 0.6367 GB, free: 8.574 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.00095/0.0009499, allocations: 92.91 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 11.98 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2535, allocations: 116.3 MB / 0.9883 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.465/1.719, allocations: 421.3 MB / 1.4 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.719, allocations: 90.39 kB / 1.4 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.798/7.518, allocations: 1.454 GB / 2.854 GB, free: 122.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.966e-06/7.518, allocations: 0 / 2.854 GB, free: 122.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001308/7.519, allocations: 155.7 kB / 2.854 GB, free: 122.4 MB / 0.9792 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.02787/7.547, allocations: 5.897 MB / 2.86 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/7.547, allocations: 9.375 kB / 2.86 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007101/7.554, allocations: 0.8067 MB / 2.861 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/7.577, allocations: 6.812 MB / 2.867 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003781/7.577, allocations: 262.4 kB / 2.868 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001626/7.579, allocations: 351.5 kB / 2.868 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/7.59, allocations: 5.374 MB / 2.873 GB, free: 118.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-05/7.59, allocations: 12.69 kB / 2.873 GB, free: 118.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005793/7.591, allocations: 145.8 kB / 2.873 GB, free: 118.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-05/7.591, allocations: 84.05 kB / 2.874 GB, free: 118.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008848/7.599, allocations: 5.068 MB / 2.878 GB, free: 118.7 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.04425/7.644, allocations: 22.76 MB / 2.901 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/7.65, allocations: 2.717 MB / 2.903 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01884/7.669, allocations: 7.017 MB / 2.91 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003456/7.672, allocations: 1.838 MB / 2.912 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008212/7.68, allocations: 2.036 MB / 2.914 GB, free: 106.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=157): time 2.235e-05/7.68, allocations: 0 / 2.914 GB, free: 106.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=157): time 0.01953/7.7, allocations: 6.617 MB / 2.92 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/7.7, allocations: 150.7 kB / 2.921 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01356/7.714, allocations: 4.557 MB / 2.925 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/7.715, allocations: 66.7 kB / 2.925 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003888/7.719, allocations: 2.449 MB / 2.928 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001394/7.72, allocations: 0.5591 MB / 2.928 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005955/7.721, allocations: 52.31 kB / 2.928 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002942/7.721, allocations: 416.5 kB / 2.928 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/7.724, allocations: 1.527 MB / 2.93 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003992/7.728, allocations: 2.836 MB / 2.933 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/7.732, allocations: 1.987 MB / 2.935 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.823e-05/7.732, allocations: 7.969 kB / 2.935 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01335/7.745, allocations: 5.559 MB / 2.94 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004128/7.749, allocations: 15.28 MB / 2.955 GB, free: 85.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/7.75, allocations: 34.06 kB / 2.955 GB, free: 85.38 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06932/7.819, allocations: 11.46 MB / 2.966 GB, free: 85.35 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004052/7.823, allocations: 0.6962 MB / 2.967 GB, free: 85.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009278/7.832, allocations: 4.722 MB / 2.972 GB, free: 83.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007817/7.84, allocations: 361.1 kB / 2.972 GB, free: 83.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/7.841, allocations: 159.5 kB / 2.972 GB, free: 83.73 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/7.842, allocations: 4.031 kB / 2.972 GB, free: 83.73 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01346/7.855, allocations: 5.029 MB / 2.977 GB, free: 83.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/7.855, allocations: 37.73 kB / 2.977 GB, free: 83.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07057/7.926, allocations: 11.39 MB / 2.988 GB, free: 83.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003487/7.929, allocations: 0.6886 MB / 2.989 GB, free: 83.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/7.942, allocations: 7.803 MB / 2.996 GB, free: 79.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007084/7.949, allocations: 337.2 kB / 2.997 GB, free: 79.72 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007798/7.95, allocations: 157.3 kB / 2.997 GB, free: 79.71 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.004359/7.954, allocations: 1.548 MB / 2.998 GB, free: 79.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001973/7.956, allocations: 463 kB / 2.999 GB, free: 79.27 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00834/7.965, allocations: 4.593 MB / 3.003 GB, free: 79.05 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/7.965, allocations: 18.38 kB / 3.003 GB, free: 79.05 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/7.965, allocations: 0 / 3.003 GB, free: 79.05 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01254/7.977, allocations: 6.491 MB / 3.01 GB, free: 77.66 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03315/8.011, allocations: 13.17 MB / 3.023 GB, free: 76.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.721e-05/8.011, allocations: 0 / 3.023 GB, free: 76.36 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002877/8.014, allocations: 426.2 kB / 3.023 GB, free: 76.35 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06707/8.081, allocations: 11.65 MB / 3.034 GB, free: 75.57 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008437/8.082, allocations: 43.23 kB / 3.034 GB, free: 75.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007006/8.089, allocations: 4.118 MB / 3.038 GB, free: 73.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/8.089, allocations: 0 / 3.038 GB, free: 73.98 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02599/8.115, allocations: 9.183 MB / 3.047 GB, free: 73.35 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006993/8.122, allocations: 1.106 MB / 3.048 GB, free: 73.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003164/8.125, allocations: 29.25 kB / 3.048 GB, free: 73.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006372/8.131, allocations: 297.8 kB / 3.049 GB, free: 72.96 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005638/8.132, allocations: 109.7 kB / 3.049 GB, free: 72.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005496/8.133, allocations: 77.53 kB / 3.049 GB, free: 72.96 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.009591/8.142, allocations: 3.517 MB / 3.052 GB, free: 72.79 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.723e-06/8.142, allocations: 0 / 3.052 GB, free: 72.79 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01845/8.161, allocations: 2.82 MB / 3.055 GB, free: 72.48 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.004239/8.165, allocations: 1.249 MB / 3.056 GB, free: 72.09 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01911/8.184, allocations: 7.372 MB / 3.064 GB, free: 71.54 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/8.184, allocations: 4.219 kB / 3.064 GB, free: 71.54 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006623/8.191, allocations: 2.482 MB / 3.066 GB, free: 71.48 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01755/8.208, allocations: 2.71 MB / 3.069 GB, free: 71.34 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03221/8.241, allocations: 11.03 MB / 3.079 GB, free: 67.08 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004536/8.245, allocations: 3.313 MB / 3.083 GB, free: 66.24 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007649/8.253, allocations: 1.677 MB / 3.084 GB, free: 66.05 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/8.255, allocations: 361.1 kB / 3.085 GB, free: 66.04 MB / 0.9792 GB Notification: Performance of SimCode: time 1.292e-06/8.255, allocations: 3.594 kB / 3.085 GB, free: 66.04 MB / 0.9792 GB Notification: Performance of Templates: time 0.1843/8.439, allocations: 114.5 MB / 3.196 GB, free: 8.176 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)