Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 252 MB / 267.9 MB, free: 10.93 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.001318/0.001318, allocations: 179 kB / 327.5 MB, free: 2.164 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.654/1.654, allocations: 205.4 MB / 0.5785 GB, free: 20.18 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.0008913/0.0008911, allocations: 98.22 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 15.94 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2095, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9007/1.11, allocations: 433.1 MB / 1.324 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/1.111, allocations: 100.4 kB / 1.324 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.68/2.791, allocations: 452.7 MB / 1.766 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.765e-06/2.791, allocations: 0 / 1.766 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001653/2.791, allocations: 31.08 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004394/2.796, allocations: 1.627 MB / 1.768 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/2.796, allocations: 9.375 kB / 1.768 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005681/2.796, allocations: 139.3 kB / 1.768 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/2.811, allocations: 7.314 MB / 1.775 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/2.811, allocations: 56.34 kB / 1.775 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/2.811, allocations: 69.84 kB / 1.775 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/2.813, allocations: 0.758 MB / 1.776 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/2.813, allocations: 3.609 kB / 1.776 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/2.813, allocations: 32.12 kB / 1.776 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/2.813, allocations: 17.28 kB / 1.776 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/2.814, allocations: 0.5461 MB / 1.777 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.005298/2.819, allocations: 3.903 MB / 1.781 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009122/2.82, allocations: 468.5 kB / 1.781 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/2.821, allocations: 213.1 kB / 1.781 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/2.822, allocations: 1.513 MB / 1.783 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/2.822, allocations: 41.88 kB / 1.783 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=44): time 3.948e-06/2.822, allocations: 0 / 1.783 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.001377/2.823, allocations: 0.6466 MB / 1.783 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/2.823, allocations: 56.06 kB / 1.783 GB, free: 171 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/2.825, allocations: 0.9672 MB / 1.784 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/2.825, allocations: 37.48 kB / 1.784 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/2.825, allocations: 486.5 kB / 1.785 GB, free: 170.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/2.825, allocations: 158.2 kB / 1.785 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/2.825, allocations: 20.31 kB / 1.785 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.624e-05/2.825, allocations: 328.4 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/2.826, allocations: 181.7 kB / 1.786 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/2.826, allocations: 327.6 kB / 1.786 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007268/2.827, allocations: 0.5023 MB / 1.786 GB, free: 170 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/2.827, allocations: 3.469 kB / 1.786 GB, free: 170 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001214/2.828, allocations: 0.6458 MB / 1.787 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/2.828, allocations: 190.9 kB / 1.787 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/2.828, allocations: 7.875 kB / 1.787 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/2.828, allocations: 7.656 kB / 1.787 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/2.829, allocations: 125.4 kB / 1.787 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/2.829, allocations: 11.44 kB / 1.787 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008896/2.83, allocations: 107 kB / 1.787 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/2.83, allocations: 32.22 kB / 1.787 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/2.83, allocations: 3.75 kB / 1.787 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000897/2.831, allocations: 0.5276 MB / 1.788 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/2.831, allocations: 3.969 kB / 1.788 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/2.831, allocations: 11.56 kB / 1.788 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/2.831, allocations: 124.4 kB / 1.788 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/2.831, allocations: 13.23 kB / 1.788 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007523/2.832, allocations: 95.95 kB / 1.788 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/2.832, allocations: 27.77 kB / 1.788 GB, free: 169.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004433/2.832, allocations: 351.2 kB / 1.789 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/2.833, allocations: 107.2 kB / 1.789 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/2.834, allocations: 0.9335 MB / 1.79 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/2.834, allocations: 6.969 kB / 1.79 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/2.834, allocations: 3.375 kB / 1.79 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000831/2.835, allocations: 0.8393 MB / 1.79 GB, free: 169 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/2.838, allocations: 1.938 MB / 1.792 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/2.838, allocations: 7.188 kB / 1.792 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/2.838, allocations: 91.55 kB / 1.792 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/2.838, allocations: 3.906 kB / 1.792 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/2.838, allocations: 20.47 kB / 1.792 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/2.838, allocations: 7.672 kB / 1.792 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.838, allocations: 7.844 kB / 1.792 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/2.84, allocations: 1.179 MB / 1.794 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/2.84, allocations: 293.3 kB / 1.794 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/2.84, allocations: 19.88 kB / 1.794 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/2.841, allocations: 38.61 kB / 1.794 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/2.841, allocations: 54.2 kB / 1.794 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/2.841, allocations: 26.31 kB / 1.794 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008843/2.842, allocations: 0.6842 MB / 1.795 GB, free: 168 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/2.842, allocations: 3 kB / 1.795 GB, free: 168 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001743/2.844, allocations: 0.6171 MB / 1.795 GB, free: 168 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (61): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/2.845, allocations: 0.7274 MB / 1.796 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001449/2.847, allocations: 0.9231 MB / 1.797 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/2.847, allocations: 0 / 1.797 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004831/2.847, allocations: 402.8 kB / 1.797 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/2.85, allocations: 0.5588 MB / 1.798 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/2.853, allocations: 2.473 MB / 1.8 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/2.854, allocations: 1.053 MB / 1.801 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001203/2.855, allocations: 294.6 kB / 1.802 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/2.855, allocations: 103.1 kB / 1.802 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of SimCode: time 7.12e-07/2.855, allocations: 3.062 kB / 1.802 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.03857/2.894, allocations: 26.4 MB / 1.827 GB, free: 165.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)