Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.145/2.145, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001465/0.001464, allocations: 181 kB / 326.2 MB, free: 2.867 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.321/2.321, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0008862/0.0008857, allocations: 97.67 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006434/0.0006437, allocations: 17.81 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2163, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.51, allocations: 432.3 MB / 1.322 GB, free: 3.152 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003937/1.511, allocations: 106.5 kB / 1.322 GB, free: 3.094 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.821/4.332, allocations: 452.1 MB / 1.763 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.046e-06/4.332, allocations: 1.281 kB / 1.763 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002251/4.332, allocations: 31.12 kB / 1.763 GB, free: 176.2 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.0067/4.339, allocations: 1.612 MB / 1.765 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/4.339, allocations: 9 kB / 1.765 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009124/4.34, allocations: 134.6 kB / 1.765 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02581/4.366, allocations: 7.278 MB / 1.772 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/4.366, allocations: 60.73 kB / 1.772 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/4.366, allocations: 69.09 kB / 1.772 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/4.368, allocations: 0.7544 MB / 1.773 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/4.368, allocations: 0 / 1.773 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/4.368, allocations: 26.97 kB / 1.773 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/4.368, allocations: 18.31 kB / 1.773 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/4.37, allocations: 0.5074 MB / 1.774 GB, free: 175 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.007238/4.377, allocations: 4.373 MB / 1.778 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/4.378, allocations: 347.3 kB / 1.778 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/4.378, allocations: 205.7 kB / 1.778 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/4.38, allocations: 1.509 MB / 1.78 GB, free: 170.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/4.38, allocations: 40.72 kB / 1.78 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 3.516e-06/4.38, allocations: 0 / 1.78 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43): time 0.003728/4.384, allocations: 0.8341 MB / 1.781 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/4.384, allocations: 58.69 kB / 1.781 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/4.386, allocations: 0.8506 MB / 1.782 GB, free: 170.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000184/4.386, allocations: 35.58 kB / 1.782 GB, free: 170.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/4.387, allocations: 487.8 kB / 1.782 GB, free: 170 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/4.387, allocations: 152.5 kB / 1.782 GB, free: 170 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/4.387, allocations: 9.719 kB / 1.782 GB, free: 170 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/4.387, allocations: 330.8 kB / 1.783 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/4.388, allocations: 163 kB / 1.783 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/4.388, allocations: 322 kB / 1.783 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/4.389, allocations: 214.2 kB / 1.783 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/4.389, allocations: 0 / 1.783 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002561/4.391, allocations: 0.6829 MB / 1.784 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/4.392, allocations: 207.2 kB / 1.784 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/4.392, allocations: 6.312 kB / 1.784 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/4.393, allocations: 116.2 kB / 1.784 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/4.394, allocations: 105.2 kB / 1.784 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/4.395, allocations: 0.6065 MB / 1.785 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/4.398, allocations: 95.06 kB / 1.785 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/4.399, allocations: 32.84 kB / 1.785 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/4.399, allocations: 7.062 kB / 1.785 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003807/4.402, allocations: 0.5675 MB / 1.786 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.969e-05/4.403, allocations: 5.594 kB / 1.786 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/4.404, allocations: 113.4 kB / 1.786 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/4.405, allocations: 105.2 kB / 1.786 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000929/4.406, allocations: 0.6038 MB / 1.786 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/4.408, allocations: 89.05 kB / 1.786 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/4.408, allocations: 29.25 kB / 1.787 GB, free: 168.1 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.001154/4.41, allocations: 350.2 kB / 1.787 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004632/4.41, allocations: 95.94 kB / 1.787 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/4.415, allocations: 0.9814 MB / 1.788 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.393e-05/4.415, allocations: 15.31 kB / 1.788 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/4.415, allocations: 3.938 kB / 1.788 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003297/4.418, allocations: 0.8772 MB / 1.789 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007089/4.426, allocations: 1.836 MB / 1.791 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.976e-05/4.426, allocations: 3.812 kB / 1.791 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009847/4.427, allocations: 80 kB / 1.791 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008332/4.428, allocations: 69.31 kB / 1.791 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.361e-05/4.428, allocations: 17.86 kB / 1.791 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007049/4.428, allocations: 0.5945 MB / 1.791 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/4.428, allocations: 7.375 kB / 1.791 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/4.433, allocations: 1.2 MB / 1.792 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/4.434, allocations: 269.5 kB / 1.793 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/4.434, allocations: 11.69 kB / 1.793 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/4.436, allocations: 67.81 kB / 1.793 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/4.436, allocations: 47.28 kB / 1.793 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/4.436, allocations: 28.73 kB / 1.793 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001334/4.437, allocations: 0.581 MB / 1.793 GB, free: 166 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.954e-06/4.437, allocations: 0 / 1.793 GB, free: 166 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00285/4.44, allocations: 0.6182 MB / 1.794 GB, free: 165.9 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.001791/4.442, allocations: 0.7325 MB / 1.795 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002355/4.444, allocations: 0.8943 MB / 1.796 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/4.444, allocations: 0 / 1.796 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008369/4.445, allocations: 397.7 kB / 1.796 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/4.449, allocations: 467.1 kB / 1.796 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/4.454, allocations: 2.31 MB / 1.799 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/4.454, allocations: 1.051 MB / 1.8 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001476/4.456, allocations: 257.2 kB / 1.8 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/4.456, allocations: 94.73 kB / 1.8 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.273e-06/4.456, allocations: 0 / 1.8 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.06005/4.516, allocations: 23.84 MB / 1.823 GB, free: 163.4 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)