Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.077/2.077, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 188.3 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.32/2.32, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008656/0.0008654, allocations: 94.3 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.000486, allocations: 12.38 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2112, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.496, allocations: 413.9 MB / 1.304 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/1.496, allocations: 91.91 kB / 1.304 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.569/9.065, allocations: 1.443 GB / 2.747 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.715e-06/9.065, allocations: 0 / 2.747 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001079/9.066, allocations: 155.8 kB / 2.747 GB, free: 11.78 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.02686/9.093, allocations: 5.898 MB / 2.753 GB, free: 5.785 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/9.093, allocations: 8.031 kB / 2.753 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006869/9.1, allocations: 0.806 MB / 2.754 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02564/9.126, allocations: 6.474 MB / 2.76 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004979/9.126, allocations: 270.9 kB / 2.76 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/9.128, allocations: 348.4 kB / 2.76 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/9.147, allocations: 5.403 MB / 2.766 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/9.147, allocations: 11.88 kB / 2.766 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001168/9.148, allocations: 148 kB / 2.766 GB, free: 8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/9.148, allocations: 84 kB / 2.766 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/9.166, allocations: 5.062 MB / 2.771 GB, free: 2.844 MB / 0.9167 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.7769/9.943, allocations: 22.59 MB / 2.793 GB, free: 125 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00826/9.951, allocations: 2.619 MB / 2.796 GB, free: 125 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004898/9.956, allocations: 1.822 MB / 2.797 GB, free: 124.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02147/9.977, allocations: 6.963 MB / 2.804 GB, free: 122.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005394/9.983, allocations: 1.847 MB / 2.806 GB, free: 122.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01146/9.994, allocations: 2.028 MB / 2.808 GB, free: 122.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=156): time 1.551e-05/9.995, allocations: 0 / 2.808 GB, free: 122.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=156): time 0.03438/10.03, allocations: 6.961 MB / 2.815 GB, free: 122 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/10.03, allocations: 147.8 kB / 2.815 GB, free: 121.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/10.04, allocations: 4.805 MB / 2.82 GB, free: 121.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008117/10.04, allocations: 69.41 kB / 2.82 GB, free: 121.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003688/10.05, allocations: 2.439 MB / 2.822 GB, free: 120.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/10.05, allocations: 0.5518 MB / 2.822 GB, free: 120.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/10.05, allocations: 55.06 kB / 2.823 GB, free: 120.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001973/10.05, allocations: 410.7 kB / 2.823 GB, free: 120.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004269/10.05, allocations: 1.527 MB / 2.824 GB, free: 120.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005479/10.06, allocations: 2.843 MB / 2.827 GB, free: 118.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005454/10.06, allocations: 1.989 MB / 2.829 GB, free: 118.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.421e-05/10.06, allocations: 7.781 kB / 2.829 GB, free: 118.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01957/10.08, allocations: 5.67 MB / 2.835 GB, free: 118.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007803/10.08, allocations: 1.078 MB / 2.836 GB, free: 117 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.824e-05/10.08, allocations: 34.45 kB / 2.836 GB, free: 117 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1381/10.22, allocations: 11.58 MB / 2.847 GB, free: 117 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005169/10.23, allocations: 0.6465 MB / 2.848 GB, free: 117 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/10.24, allocations: 4.725 MB / 2.852 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008642/10.25, allocations: 348.1 kB / 2.853 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009758/10.25, allocations: 165.5 kB / 2.853 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/10.25, allocations: 7 kB / 2.853 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01388/10.26, allocations: 5.032 MB / 2.858 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/10.26, allocations: 34 kB / 2.858 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1359/10.4, allocations: 11.38 MB / 2.869 GB, free: 115.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/10.41, allocations: 0.6387 MB / 2.87 GB, free: 115.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/10.42, allocations: 7.73 MB / 2.877 GB, free: 111.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007514/10.43, allocations: 340 kB / 2.877 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008991/10.43, allocations: 149.8 kB / 2.878 GB, free: 111.7 MB / 0.9167 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 (286): * Single equations (assignments): 279 * 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.004974/10.44, allocations: 1.549 MB / 2.879 GB, free: 111.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002099/10.44, allocations: 466.2 kB / 2.879 GB, free: 111.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/10.45, allocations: 4.582 MB / 2.884 GB, free: 111.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-05/10.45, allocations: 16.28 kB / 2.884 GB, free: 111.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/10.45, allocations: 0 / 2.884 GB, free: 111.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03617/10.49, allocations: 7.333 MB / 2.891 GB, free: 109.7 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.05382/10.54, allocations: 13.22 MB / 2.904 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/10.54, allocations: 3.812 kB / 2.904 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004061/10.55, allocations: 370.5 kB / 2.904 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1335/10.68, allocations: 11.64 MB / 2.916 GB, free: 107.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000581/10.68, allocations: 48.94 kB / 2.916 GB, free: 107.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/10.69, allocations: 4.133 MB / 2.92 GB, free: 106 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/10.69, allocations: 0 / 2.92 GB, free: 106 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04457/10.74, allocations: 9.671 MB / 2.929 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004535/10.74, allocations: 1.054 MB / 2.93 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/10.74, allocations: 28.44 kB / 2.93 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007289/10.75, allocations: 288.1 kB / 2.931 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007494/10.75, allocations: 102.5 kB / 2.931 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004805/10.75, allocations: 90.77 kB / 2.931 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.009009/10.76, allocations: 3.265 MB / 2.934 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.11e-07/10.76, allocations: 0 / 2.934 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01525/10.78, allocations: 2.786 MB / 2.937 GB, free: 104.8 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * 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.003576/10.78, allocations: 1.222 MB / 2.938 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02843/10.81, allocations: 7.359 MB / 2.945 GB, free: 104 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/10.81, allocations: 0.8906 kB / 2.945 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/10.82, allocations: 2.488 MB / 2.948 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02426/10.84, allocations: 2.74 MB / 2.95 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02634/10.87, allocations: 11.02 MB / 2.961 GB, free: 99.52 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004961/10.87, allocations: 3.213 MB / 2.964 GB, free: 98.69 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0108/10.89, allocations: 1.675 MB / 2.966 GB, free: 98.49 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002497/10.89, allocations: 355.8 kB / 2.966 GB, free: 98.48 MB / 0.9167 GB Notification: Performance of SimCode: time 1.383e-06/10.89, allocations: 0 / 2.966 GB, free: 98.48 MB / 0.9167 GB Notification: Performance of Templates: time 0.2547/11.14, allocations: 112.6 MB / 3.076 GB, free: 24.73 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)