Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.124/2.124, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001383/0.001382, allocations: 171.2 kB / 326.2 MB, free: 2.883 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.417/2.417, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0008767/0.0008764, allocations: 87.84 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000681/0.0006811, allocations: 12.97 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2218, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.488, allocations: 433 MB / 1.322 GB, free: 2.609 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/1.488, allocations: 94.95 kB / 1.322 GB, free: 2.559 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.688/4.176, allocations: 452.4 MB / 1.764 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.186e-06/4.176, allocations: 0 / 1.764 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001968/4.176, allocations: 27.73 kB / 1.764 GB, free: 176.6 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.006615/4.183, allocations: 1.648 MB / 1.766 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/4.183, allocations: 9.062 kB / 1.766 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/4.184, allocations: 135.5 kB / 1.766 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02486/4.209, allocations: 7.267 MB / 1.773 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/4.209, allocations: 57.31 kB / 1.773 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/4.209, allocations: 73.69 kB / 1.773 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/4.211, allocations: 0.7623 MB / 1.774 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/4.211, allocations: 3.906 kB / 1.774 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/4.211, allocations: 30.02 kB / 1.774 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/4.211, allocations: 15.09 kB / 1.774 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/4.213, allocations: 0.5519 MB / 1.775 GB, free: 175.4 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.007375/4.22, allocations: 3.891 MB / 1.778 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/4.222, allocations: 466.7 kB / 1.779 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005887/4.222, allocations: 228.5 kB / 1.779 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/4.224, allocations: 1.512 MB / 1.78 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/4.224, allocations: 37.12 kB / 1.78 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 2.976e-06/4.224, allocations: 0 / 1.78 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.002292/4.226, allocations: 0.6658 MB / 1.781 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/4.226, allocations: 67.55 kB / 1.781 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/4.229, allocations: 0.9596 MB / 1.782 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/4.229, allocations: 35.92 kB / 1.782 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/4.229, allocations: 477.8 kB / 1.783 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/4.229, allocations: 170.3 kB / 1.783 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/4.23, allocations: 8.906 kB / 1.783 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/4.23, allocations: 327.7 kB / 1.783 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/4.23, allocations: 179.7 kB / 1.783 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/4.231, allocations: 333.3 kB / 1.784 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/4.232, allocations: 239.5 kB / 1.784 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/4.232, allocations: 7.844 kB / 1.784 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002387/4.234, allocations: 0.6408 MB / 1.784 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/4.234, allocations: 190.3 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/4.234, allocations: 9.375 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/4.234, allocations: 5.938 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/4.235, allocations: 122 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-05/4.235, allocations: 11 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/4.237, allocations: 104.1 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/4.238, allocations: 29.02 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/4.238, allocations: 7.656 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001929/4.24, allocations: 0.5234 MB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/4.24, allocations: 6.312 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/4.24, allocations: 5.531 kB / 1.785 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/4.241, allocations: 128.4 kB / 1.786 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/4.241, allocations: 10.31 kB / 1.786 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/4.242, allocations: 100.5 kB / 1.786 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/4.243, allocations: 28.7 kB / 1.786 GB, free: 170.3 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.000895/4.244, allocations: 350.3 kB / 1.786 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004781/4.244, allocations: 110.1 kB / 1.786 GB, free: 170 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/4.247, allocations: 0.9681 MB / 1.787 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/4.247, allocations: 11.95 kB / 1.787 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/4.247, allocations: 7.062 kB / 1.787 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001752/4.249, allocations: 0.8341 MB / 1.788 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/4.254, allocations: 1.954 MB / 1.79 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/4.254, allocations: 7.734 kB / 1.79 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/4.255, allocations: 101.5 kB / 1.79 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/4.255, allocations: 3.312 kB / 1.79 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/4.255, allocations: 23.62 kB / 1.79 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/4.255, allocations: 6 kB / 1.79 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/4.255, allocations: 7.688 kB / 1.79 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/4.258, allocations: 1.203 MB / 1.791 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009474/4.259, allocations: 284.5 kB / 1.791 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002965/4.26, allocations: 17.58 kB / 1.791 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/4.261, allocations: 56.47 kB / 1.791 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/4.261, allocations: 51.8 kB / 1.792 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.777e-05/4.261, allocations: 28.83 kB / 1.792 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001658/4.263, allocations: 0.6817 MB / 1.792 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.52e-07/4.263, allocations: 0 / 1.792 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002845/4.266, allocations: 0.6122 MB / 1.793 GB, free: 168.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (62): * Single equations (assignments): 48 * 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.001805/4.268, allocations: 0.7298 MB / 1.794 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002509/4.27, allocations: 0.9353 MB / 1.794 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/4.27, allocations: 2.734 kB / 1.794 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009285/4.271, allocations: 401.1 kB / 1.795 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005349/4.276, allocations: 0.5698 MB / 1.795 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/4.281, allocations: 2.484 MB / 1.798 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/4.282, allocations: 1.058 MB / 1.799 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001784/4.284, allocations: 287.3 kB / 1.799 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/4.284, allocations: 106.1 kB / 1.799 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.102e-06/4.284, allocations: 1.469 kB / 1.799 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.06516/4.349, allocations: 26.13 MB / 1.825 GB, free: 165.9 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)