Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 252 MB / 267.9 MB, free: 10.92 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.000971/0.000971, allocations: 180.9 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.000792/0.0007921, allocations: 88.61 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004217, allocations: 14.47 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9019/1.132, allocations: 432.5 MB / 1.324 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/1.133, allocations: 100.2 kB / 1.324 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/2.954, allocations: 452.5 MB / 1.766 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.834e-06/2.954, allocations: 1 kB / 1.766 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002061/2.954, allocations: 25.62 kB / 1.766 GB, free: 176.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004549/2.959, allocations: 1.606 MB / 1.767 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/2.959, allocations: 10.25 kB / 1.767 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/2.959, allocations: 129.7 kB / 1.767 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/2.974, allocations: 7.317 MB / 1.774 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/2.974, allocations: 55.81 kB / 1.774 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/2.974, allocations: 69.62 kB / 1.775 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/2.976, allocations: 0.746 MB / 1.775 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/2.976, allocations: 9.531 kB / 1.775 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/2.976, allocations: 28.06 kB / 1.775 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/2.976, allocations: 21.81 kB / 1.775 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/2.977, allocations: 0.5093 MB / 1.776 GB, free: 174.9 MB / 0.8855 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.00419/2.981, allocations: 4.368 MB / 1.78 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/2.982, allocations: 353.8 kB / 1.78 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/2.982, allocations: 200.4 kB / 1.781 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/2.983, allocations: 1.514 MB / 1.782 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/2.983, allocations: 38.31 kB / 1.782 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 3.416e-06/2.983, allocations: 0 / 1.782 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43): time 0.002058/2.985, allocations: 0.837 MB / 1.783 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/2.985, allocations: 58.22 kB / 1.783 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/2.986, allocations: 0.8499 MB / 1.784 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/2.986, allocations: 33.33 kB / 1.784 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/2.987, allocations: 484.2 kB / 1.784 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/2.987, allocations: 155.2 kB / 1.784 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/2.987, allocations: 10.03 kB / 1.785 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001033/2.987, allocations: 331 kB / 1.785 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/2.987, allocations: 155.2 kB / 1.785 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/2.988, allocations: 320.9 kB / 1.785 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008718/2.989, allocations: 0.4924 MB / 1.786 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/2.989, allocations: 0 / 1.786 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001373/2.99, allocations: 0.6854 MB / 1.786 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/2.99, allocations: 213.2 kB / 1.787 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/2.99, allocations: 3.844 kB / 1.787 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/2.991, allocations: 110.8 kB / 1.787 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/2.991, allocations: 105.7 kB / 1.787 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004446/2.991, allocations: 0.6065 MB / 1.787 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000842/2.992, allocations: 104 kB / 1.788 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/2.992, allocations: 28.73 kB / 1.788 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/2.992, allocations: 3.312 kB / 1.788 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001114/2.994, allocations: 0.5671 MB / 1.788 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/2.994, allocations: 9.672 kB / 1.788 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/2.994, allocations: 108.5 kB / 1.788 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/2.994, allocations: 105.7 kB / 1.788 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000339/2.995, allocations: 0.6091 MB / 1.789 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/2.995, allocations: 84.45 kB / 1.789 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/2.995, allocations: 29.2 kB / 1.789 GB, free: 167.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004886/2.996, allocations: 345.4 kB / 1.789 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/2.996, allocations: 100.6 kB / 1.789 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/2.997, allocations: 0.9678 MB / 1.79 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/2.998, allocations: 17.08 kB / 1.79 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/2.998, allocations: 0 / 1.79 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/2.999, allocations: 0.8852 MB / 1.791 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/3.001, allocations: 1.835 MB / 1.793 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/3.001, allocations: 3.781 kB / 1.793 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/3.001, allocations: 81.75 kB / 1.793 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002802/3.002, allocations: 68.09 kB / 1.793 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/3.002, allocations: 27.41 kB / 1.793 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002958/3.002, allocations: 0.5942 MB / 1.794 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/3.002, allocations: 11.19 kB / 1.794 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/3.004, allocations: 1.192 MB / 1.795 GB, free: 166 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/3.004, allocations: 267.2 kB / 1.795 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/3.004, allocations: 14.23 kB / 1.795 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/3.005, allocations: 60.89 kB / 1.795 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/3.005, allocations: 50.47 kB / 1.795 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/3.005, allocations: 27.55 kB / 1.795 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007/3.005, allocations: 0.5801 MB / 1.796 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/3.005, allocations: 2.906 kB / 1.796 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001744/3.007, allocations: 0.6093 MB / 1.797 GB, free: 165.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/3.008, allocations: 0.7336 MB / 1.797 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001342/3.01, allocations: 0.8914 MB / 1.798 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/3.01, allocations: 0 / 1.798 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004285/3.01, allocations: 392 kB / 1.799 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/3.012, allocations: 455.7 kB / 1.799 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/3.016, allocations: 2.306 MB / 1.801 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/3.016, allocations: 1.049 MB / 1.802 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009162/3.017, allocations: 265.9 kB / 1.802 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/3.017, allocations: 90.59 kB / 1.803 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of SimCode: time 7.72e-07/3.017, allocations: 0 / 1.803 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.03982/3.057, allocations: 24.16 MB / 1.826 GB, free: 163.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)