Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.77/1.77, allocations: 297.8 MB / 313.7 MB, free: 164 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 180.3 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007993/0.0007995, allocations: 101.8 kB / 0.7808 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004274, allocations: 12.53 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/0.7885, allocations: 120.3 MB / 1.026 GB, free: 55.94 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.841, allocations: 444 MB / 1.46 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/1.841, allocations: 103.2 kB / 1.46 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.638/3.479, allocations: 0.5315 GB / 1.991 GB, free: 84.17 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.496e-06/3.479, allocations: 0 / 1.991 GB, free: 84.17 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002557/3.48, allocations: 35.22 kB / 1.992 GB, free: 84.14 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.005665/3.485, allocations: 1.791 MB / 1.993 GB, free: 82.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/3.485, allocations: 8.031 kB / 1.993 GB, free: 82.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/3.486, allocations: 159.2 kB / 1.993 GB, free: 82.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0169/3.503, allocations: 7.789 MB / 2.001 GB, free: 74.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/3.503, allocations: 66.94 kB / 2.001 GB, free: 74.32 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004217/3.504, allocations: 84 kB / 2.001 GB, free: 74.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/3.506, allocations: 0.9497 MB / 2.002 GB, free: 73.24 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/3.506, allocations: 7.938 kB / 2.002 GB, free: 73.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/3.506, allocations: 36 kB / 2.002 GB, free: 73.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/3.506, allocations: 28 kB / 2.002 GB, free: 73.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/3.508, allocations: 0.6401 MB / 2.003 GB, free: 72.52 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.00606/3.514, allocations: 5.145 MB / 2.008 GB, free: 67.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/3.514, allocations: 408.1 kB / 2.008 GB, free: 66.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/3.515, allocations: 243.2 kB / 2.008 GB, free: 66.37 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/3.516, allocations: 1.595 MB / 2.01 GB, free: 64.43 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/3.516, allocations: 42.94 kB / 2.01 GB, free: 64.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=54): time 4.578e-06/3.516, allocations: 0 / 2.01 GB, free: 64.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=54): time 0.002294/3.518, allocations: 0.9213 MB / 2.011 GB, free: 63.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/3.518, allocations: 59.84 kB / 2.011 GB, free: 63.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/3.52, allocations: 0.9453 MB / 2.012 GB, free: 62.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.408e-05/3.52, allocations: 37.7 kB / 2.012 GB, free: 62.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/3.52, allocations: 0.5772 MB / 2.013 GB, free: 61.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/3.521, allocations: 193.2 kB / 2.013 GB, free: 61.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/3.521, allocations: 12 kB / 2.013 GB, free: 61.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/3.521, allocations: 333.9 kB / 2.013 GB, free: 61.24 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/3.521, allocations: 201.8 kB / 2.013 GB, free: 61.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/3.521, allocations: 409.5 kB / 2.014 GB, free: 60.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008102/3.522, allocations: 0.6333 MB / 2.014 GB, free: 59.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/3.522, allocations: 0 / 2.014 GB, free: 59.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001847/3.524, allocations: 0.8189 MB / 2.015 GB, free: 59.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/3.524, allocations: 264.9 kB / 2.015 GB, free: 58.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/3.524, allocations: 12 kB / 2.015 GB, free: 58.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/3.525, allocations: 100.8 kB / 2.015 GB, free: 58.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/3.525, allocations: 147.7 kB / 2.016 GB, free: 58.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003882/3.526, allocations: 0.5992 MB / 2.016 GB, free: 57.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/3.527, allocations: 111.3 kB / 2.016 GB, free: 57.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/3.527, allocations: 39.98 kB / 2.016 GB, free: 57.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/3.527, allocations: 6.031 kB / 2.016 GB, free: 57.64 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/3.528, allocations: 0.7008 MB / 2.017 GB, free: 56.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/3.528, allocations: 4 kB / 2.017 GB, free: 56.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/3.529, allocations: 123 kB / 2.017 GB, free: 56.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/3.529, allocations: 135.8 kB / 2.017 GB, free: 56.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003257/3.53, allocations: 0.6069 MB / 2.018 GB, free: 56.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/3.531, allocations: 107.4 kB / 2.018 GB, free: 55.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/3.531, allocations: 39.92 kB / 2.018 GB, free: 55.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (80): * Single equations (assignments): 77 * 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.0007153/3.532, allocations: 377.6 kB / 2.018 GB, free: 55.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/3.532, allocations: 110.7 kB / 2.018 GB, free: 55.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/3.534, allocations: 1.051 MB / 2.019 GB, free: 54.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/3.534, allocations: 15.98 kB / 2.019 GB, free: 54.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/3.534, allocations: 4 kB / 2.019 GB, free: 54.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/3.535, allocations: 0.8074 MB / 2.02 GB, free: 53.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/3.539, allocations: 2.049 MB / 2.022 GB, free: 51.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/3.539, allocations: 4 kB / 2.022 GB, free: 51.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/3.539, allocations: 111.8 kB / 2.022 GB, free: 51.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/3.54, allocations: 72.75 kB / 2.022 GB, free: 51.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/3.54, allocations: 24.08 kB / 2.022 GB, free: 51.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003023/3.54, allocations: 0.5876 MB / 2.023 GB, free: 50.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/3.54, allocations: 3.938 kB / 2.023 GB, free: 50.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/3.542, allocations: 1.307 MB / 2.024 GB, free: 49.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/3.543, allocations: 299.3 kB / 2.025 GB, free: 48.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/3.543, allocations: 15.94 kB / 2.025 GB, free: 48.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009063/3.544, allocations: 91.83 kB / 2.025 GB, free: 48.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/3.544, allocations: 48.48 kB / 2.025 GB, free: 48.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-05/3.544, allocations: 35.98 kB / 2.025 GB, free: 48.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001165/3.545, allocations: 0.6488 MB / 2.025 GB, free: 48.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.61e-07/3.545, allocations: 3.938 kB / 2.025 GB, free: 48.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00284/3.548, allocations: 0.7407 MB / 2.026 GB, free: 47.33 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.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 (66): * Single equations (assignments): 51 * 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.001774/3.55, allocations: 0.7892 MB / 2.027 GB, free: 46.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001931/3.552, allocations: 1.048 MB / 2.028 GB, free: 45.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/3.552, allocations: 4 kB / 2.028 GB, free: 45.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005796/3.552, allocations: 422.5 kB / 2.028 GB, free: 45.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/3.556, allocations: 0.5656 MB / 2.029 GB, free: 44.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/3.56, allocations: 2.701 MB / 2.032 GB, free: 41.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/3.561, allocations: 1.137 MB / 2.033 GB, free: 40.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001349/3.562, allocations: 311.9 kB / 2.033 GB, free: 40.33 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/3.563, allocations: 111.4 kB / 2.033 GB, free: 40.22 MB / 0.948 GB Notification: Performance of SimCode: time 8.51e-07/3.563, allocations: 3.938 kB / 2.033 GB, free: 40.21 MB / 0.948 GB Notification: Performance of Templates: time 0.04159/3.604, allocations: 27.58 MB / 2.06 GB, free: 12.99 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)