Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 293 MB / 309 MB, free: 4.82 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.0014/0.0014, allocations: 168.6 kB / 378.7 MB, free: 1.031 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.655/1.655, allocations: 205.4 MB / 0.6383 GB, free: 9.09 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.0009841/0.0009841, allocations: 98.95 kB / 0.7527 GB, free: 62.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.000429, allocations: 12 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2839, allocations: 116.4 MB / 0.9905 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.677/1.961, allocations: 441.2 MB / 1.421 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.961, allocations: 99.08 kB / 1.421 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.547/3.508, allocations: 465.6 MB / 1.876 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.097e-06/3.508, allocations: 0 / 1.876 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002108/3.508, allocations: 31.12 kB / 1.876 GB, free: 162.1 MB / 0.9323 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.005719/3.514, allocations: 1.606 MB / 1.878 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/3.514, allocations: 7.812 kB / 1.878 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/3.515, allocations: 133.3 kB / 1.878 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01678/3.531, allocations: 7.493 MB / 1.885 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.852e-05/3.531, allocations: 51.91 kB / 1.885 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/3.532, allocations: 64.12 kB / 1.885 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/3.534, allocations: 0.7652 MB / 1.886 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/3.534, allocations: 0 / 1.886 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/3.534, allocations: 27.12 kB / 1.886 GB, free: 158 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/3.534, allocations: 17.59 kB / 1.886 GB, free: 158 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/3.535, allocations: 0.5031 MB / 1.887 GB, free: 157.8 MB / 0.9323 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.005587/3.541, allocations: 4.37 MB / 1.891 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/3.541, allocations: 353.8 kB / 1.891 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/3.542, allocations: 198.2 kB / 1.891 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/3.543, allocations: 1.513 MB / 1.893 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/3.543, allocations: 38.28 kB / 1.893 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 3.166e-06/3.543, allocations: 0 / 1.893 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=43): time 0.002188/3.545, allocations: 0.8391 MB / 1.894 GB, free: 152 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/3.545, allocations: 59.19 kB / 1.894 GB, free: 152 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/3.546, allocations: 0.8421 MB / 1.895 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.96e-05/3.547, allocations: 39.2 kB / 1.895 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/3.547, allocations: 488.2 kB / 1.895 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/3.547, allocations: 149.7 kB / 1.895 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/3.547, allocations: 11.25 kB / 1.895 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/3.547, allocations: 323.2 kB / 1.896 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/3.547, allocations: 164 kB / 1.896 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/3.548, allocations: 338.2 kB / 1.896 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007105/3.549, allocations: 497.4 kB / 1.896 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/3.549, allocations: 5.438 kB / 1.896 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001533/3.55, allocations: 0.6698 MB / 1.897 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/3.55, allocations: 211.8 kB / 1.897 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/3.55, allocations: 6.969 kB / 1.897 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/3.551, allocations: 116.7 kB / 1.897 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/3.551, allocations: 102.7 kB / 1.898 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004271/3.552, allocations: 0.6095 MB / 1.898 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009462/3.553, allocations: 94.58 kB / 1.898 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.18e-05/3.553, allocations: 34.14 kB / 1.898 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/3.553, allocations: 0 / 1.898 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/3.554, allocations: 0.5716 MB / 1.899 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/3.554, allocations: 14.52 kB / 1.899 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004093/3.554, allocations: 109.5 kB / 1.899 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/3.555, allocations: 111.8 kB / 1.899 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003545/3.555, allocations: 0.5924 MB / 1.9 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/3.556, allocations: 93.03 kB / 1.9 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/3.556, allocations: 35.27 kB / 1.9 GB, free: 148.1 MB / 0.9323 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.0006923/3.557, allocations: 345.1 kB / 1.9 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/3.557, allocations: 93.09 kB / 1.9 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/3.559, allocations: 0.9748 MB / 1.901 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/3.559, allocations: 14.84 kB / 1.901 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/3.559, allocations: 0 / 1.901 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/3.56, allocations: 0.8851 MB / 1.902 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003371/3.563, allocations: 1.844 MB / 1.904 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/3.563, allocations: 3.906 kB / 1.904 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/3.564, allocations: 78.55 kB / 1.904 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/3.564, allocations: 80.92 kB / 1.904 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/3.564, allocations: 19.38 kB / 1.904 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003389/3.564, allocations: 0.6052 MB / 1.905 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/3.564, allocations: 0 / 1.905 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/3.566, allocations: 1.196 MB / 1.906 GB, free: 144.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/3.567, allocations: 276.1 kB / 1.906 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/3.567, allocations: 17.77 kB / 1.906 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/3.568, allocations: 60.98 kB / 1.906 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/3.568, allocations: 45.08 kB / 1.906 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/3.568, allocations: 30.89 kB / 1.906 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009953/3.569, allocations: 0.5792 MB / 1.907 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.61e-07/3.569, allocations: 0 / 1.907 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00247/3.571, allocations: 0.6201 MB / 1.907 GB, free: 144 MB / 0.9323 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.001888/3.573, allocations: 0.7224 MB / 1.908 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001716/3.575, allocations: 0.8902 MB / 1.909 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/3.575, allocations: 0 / 1.909 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005523/3.576, allocations: 393.9 kB / 1.909 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/3.578, allocations: 463.7 kB / 1.91 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/3.582, allocations: 2.312 MB / 1.912 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009309/3.583, allocations: 1.046 MB / 1.913 GB, free: 141.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001275/3.584, allocations: 258.9 kB / 1.913 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/3.585, allocations: 91.66 kB / 1.913 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of SimCode: time 7.01e-07/3.585, allocations: 0 / 1.913 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.04358/3.628, allocations: 24.22 MB / 1.937 GB, free: 131.2 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)