Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.497/2.497, allocations: 287.5 MB / 303.2 MB, free: 8.211 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.001382/0.001382, allocations: 176.5 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009318/0.0009313, allocations: 92.47 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004848, allocations: 11.78 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2163, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.533, allocations: 440.1 MB / 1.409 GB, free: 7.062 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/1.533, allocations: 107.2 kB / 1.409 GB, free: 7.004 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.782/4.315, allocations: 465.3 MB / 1.864 GB, free: 201.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.395e-06/4.315, allocations: 3.094 kB / 1.864 GB, free: 201.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001803/4.315, allocations: 27.11 kB / 1.864 GB, free: 201.6 MB / 0.948 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.006113/4.322, allocations: 1.6 MB / 1.865 GB, free: 201.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/4.322, allocations: 9.875 kB / 1.865 GB, free: 201.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007624/4.322, allocations: 134.5 kB / 1.865 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02396/4.346, allocations: 7.495 MB / 1.873 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/4.347, allocations: 55.78 kB / 1.873 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/4.347, allocations: 66.19 kB / 1.873 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/4.349, allocations: 0.7518 MB / 1.873 GB, free: 200.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/4.349, allocations: 3.703 kB / 1.873 GB, free: 200.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/4.349, allocations: 31.72 kB / 1.873 GB, free: 200.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/4.349, allocations: 15 kB / 1.874 GB, free: 200.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/4.35, allocations: 0.5121 MB / 1.874 GB, free: 200.3 MB / 0.948 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.007177/4.358, allocations: 4.371 MB / 1.878 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/4.359, allocations: 348.9 kB / 1.879 GB, free: 197.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/4.359, allocations: 198.8 kB / 1.879 GB, free: 197.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/4.361, allocations: 1.509 MB / 1.88 GB, free: 195.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/4.361, allocations: 41.78 kB / 1.88 GB, free: 195.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.647e-06/4.361, allocations: 0 / 1.88 GB, free: 195.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.003584/4.364, allocations: 0.8403 MB / 1.881 GB, free: 195.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/4.364, allocations: 59.09 kB / 1.881 GB, free: 195.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/4.366, allocations: 0.8484 MB / 1.882 GB, free: 195.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/4.367, allocations: 32.92 kB / 1.882 GB, free: 195.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/4.367, allocations: 490.3 kB / 1.883 GB, free: 195.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/4.367, allocations: 150.9 kB / 1.883 GB, free: 195.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/4.367, allocations: 14.22 kB / 1.883 GB, free: 195.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/4.367, allocations: 327.9 kB / 1.883 GB, free: 194.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/4.368, allocations: 157.8 kB / 1.883 GB, free: 194.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/4.368, allocations: 324.3 kB / 1.883 GB, free: 194.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/4.37, allocations: 497 kB / 1.884 GB, free: 194.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/4.37, allocations: 0 / 1.884 GB, free: 194.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002398/4.372, allocations: 0.6827 MB / 1.885 GB, free: 194.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/4.372, allocations: 209.8 kB / 1.885 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/4.372, allocations: 18.09 kB / 1.885 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008626/4.373, allocations: 105.2 kB / 1.885 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/4.374, allocations: 106.7 kB / 1.885 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006081/4.374, allocations: 0.6077 MB / 1.886 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/4.376, allocations: 98.55 kB / 1.886 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/4.376, allocations: 31.92 kB / 1.886 GB, free: 193.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/4.376, allocations: 3.719 kB / 1.886 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001972/4.378, allocations: 0.5726 MB / 1.886 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/4.378, allocations: 3.906 kB / 1.886 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008137/4.379, allocations: 110.6 kB / 1.886 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/4.38, allocations: 107.6 kB / 1.887 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005673/4.38, allocations: 0.6062 MB / 1.887 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/4.382, allocations: 88.45 kB / 1.887 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/4.382, allocations: 32.91 kB / 1.887 GB, free: 193.2 MB / 0.948 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.0008796/4.383, allocations: 350.1 kB / 1.888 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/4.383, allocations: 91.53 kB / 1.888 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/4.386, allocations: 0.9756 MB / 1.889 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/4.386, allocations: 18.2 kB / 1.889 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/4.386, allocations: 3.562 kB / 1.889 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001938/4.388, allocations: 0.8913 MB / 1.889 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005012/4.393, allocations: 1.834 MB / 1.891 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/4.394, allocations: 3.594 kB / 1.891 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/4.394, allocations: 82.86 kB / 1.891 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/4.395, allocations: 68.34 kB / 1.891 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/4.395, allocations: 17.58 kB / 1.891 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004832/4.395, allocations: 0.6009 MB / 1.892 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/4.395, allocations: 0 / 1.892 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/4.398, allocations: 1.201 MB / 1.893 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/4.399, allocations: 274.2 kB / 1.893 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/4.4, allocations: 10.09 kB / 1.893 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/4.401, allocations: 68.52 kB / 1.894 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/4.401, allocations: 43.97 kB / 1.894 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.635e-05/4.401, allocations: 32.8 kB / 1.894 GB, free: 191.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00133/4.402, allocations: 0.582 MB / 1.894 GB, free: 191.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/4.402, allocations: 0 / 1.894 GB, free: 191.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002955/4.405, allocations: 0.6223 MB / 1.895 GB, free: 191 MB / 0.948 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.001887/4.407, allocations: 0.7237 MB / 1.895 GB, free: 190.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002509/4.41, allocations: 0.8905 MB / 1.896 GB, free: 190.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/4.41, allocations: 0 / 1.896 GB, free: 190.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008836/4.411, allocations: 394 kB / 1.897 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004328/4.415, allocations: 475.4 kB / 1.897 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/4.42, allocations: 2.299 MB / 1.899 GB, free: 189.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/4.421, allocations: 1.054 MB / 1.9 GB, free: 188.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001625/4.422, allocations: 266 kB / 1.901 GB, free: 188.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/4.423, allocations: 92.89 kB / 1.901 GB, free: 188.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.402e-06/4.423, allocations: 0 / 1.901 GB, free: 188.9 MB / 0.948 GB Notification: Performance of Templates: time 0.06062/4.483, allocations: 23.96 MB / 1.924 GB, free: 188.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)