Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 293 MB / 309 MB, free: 4.824 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.001043/0.001043, allocations: 182.5 kB / 378.7 MB, free: 1.023 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.804/1.804, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0008678/0.0008677, allocations: 92.33 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005052, allocations: 16 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3153, allocations: 116.4 MB / 0.9904 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.658/1.973, allocations: 441.8 MB / 1.422 GB, free: 271 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.974, allocations: 96.47 kB / 1.422 GB, free: 271 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.39/3.364, allocations: 465.9 MB / 1.877 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.845e-06/3.364, allocations: 0 / 1.877 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002205/3.364, allocations: 27.8 kB / 1.877 GB, free: 161.7 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005598/3.37, allocations: 1.631 MB / 1.879 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/3.37, allocations: 7.781 kB / 1.879 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009773/3.371, allocations: 134.3 kB / 1.879 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01554/3.386, allocations: 7.483 MB / 1.886 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/3.386, allocations: 50.12 kB / 1.886 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/3.386, allocations: 76.69 kB / 1.886 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/3.388, allocations: 0.7649 MB / 1.887 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/3.388, allocations: 11.62 kB / 1.887 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/3.388, allocations: 28.72 kB / 1.887 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/3.388, allocations: 17.47 kB / 1.887 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/3.389, allocations: 0.5513 MB / 1.887 GB, free: 157.5 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.004507/3.393, allocations: 3.907 MB / 1.891 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008079/3.394, allocations: 455.3 kB / 1.892 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/3.394, allocations: 209.3 kB / 1.892 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009308/3.395, allocations: 1.517 MB / 1.893 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/3.395, allocations: 34.56 kB / 1.893 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=44): time 2.595e-06/3.395, allocations: 0 / 1.893 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44): time 0.00129/3.397, allocations: 0.6553 MB / 1.894 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/3.397, allocations: 58.12 kB / 1.894 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/3.398, allocations: 0.9643 MB / 1.895 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/3.398, allocations: 37.61 kB / 1.895 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/3.398, allocations: 486 kB / 1.896 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/3.398, allocations: 162.6 kB / 1.896 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/3.398, allocations: 11.78 kB / 1.896 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/3.399, allocations: 331.5 kB / 1.896 GB, free: 151 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/3.399, allocations: 181.7 kB / 1.896 GB, free: 151 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/3.399, allocations: 325.8 kB / 1.897 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/3.4, allocations: 0.5114 MB / 1.897 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/3.4, allocations: 0 / 1.897 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001044/3.401, allocations: 0.6438 MB / 1.898 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/3.401, allocations: 188.1 kB / 1.898 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/3.401, allocations: 7.031 kB / 1.898 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/3.401, allocations: 7.562 kB / 1.898 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/3.402, allocations: 124.9 kB / 1.898 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/3.402, allocations: 3.375 kB / 1.898 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008038/3.402, allocations: 120.5 kB / 1.898 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/3.402, allocations: 29.48 kB / 1.898 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/3.402, allocations: 3.219 kB / 1.898 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008465/3.403, allocations: 0.5288 MB / 1.899 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/3.403, allocations: 7.156 kB / 1.899 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/3.403, allocations: 3.75 kB / 1.899 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/3.404, allocations: 128.1 kB / 1.899 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/3.404, allocations: 7.062 kB / 1.899 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/3.404, allocations: 87.67 kB / 1.899 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/3.404, allocations: 34.86 kB / 1.899 GB, free: 149.7 MB / 0.9323 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.0005172/3.405, allocations: 347.5 kB / 1.899 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/3.405, allocations: 105.7 kB / 1.899 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/3.407, allocations: 0.9387 MB / 1.9 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/3.407, allocations: 11.39 kB / 1.9 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/3.407, allocations: 3.969 kB / 1.9 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008577/3.408, allocations: 0.8411 MB / 1.901 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/3.41, allocations: 1.942 MB / 1.903 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/3.41, allocations: 7.641 kB / 1.903 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/3.411, allocations: 97.05 kB / 1.903 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/3.411, allocations: 3.781 kB / 1.903 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/3.411, allocations: 21.38 kB / 1.903 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/3.411, allocations: 7.625 kB / 1.903 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/3.411, allocations: 0 / 1.903 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/3.412, allocations: 1.186 MB / 1.904 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/3.412, allocations: 293.4 kB / 1.905 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/3.413, allocations: 15.38 kB / 1.905 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/3.413, allocations: 44.17 kB / 1.905 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/3.413, allocations: 57.78 kB / 1.905 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/3.413, allocations: 26.59 kB / 1.905 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008651/3.414, allocations: 0.6842 MB / 1.905 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/3.414, allocations: 0 / 1.905 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001638/3.416, allocations: 0.616 MB / 1.906 GB, free: 146.1 MB / 0.9323 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.001115/3.417, allocations: 0.7321 MB / 1.907 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001398/3.418, allocations: 0.9244 MB / 1.908 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/3.418, allocations: 3.312 kB / 1.908 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004722/3.419, allocations: 395.2 kB / 1.908 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/3.422, allocations: 0.5624 MB / 1.909 GB, free: 145.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/3.425, allocations: 2.471 MB / 1.911 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/3.425, allocations: 1.058 MB / 1.912 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001045/3.426, allocations: 302.3 kB / 1.912 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/3.426, allocations: 107.4 kB / 1.912 GB, free: 143 MB / 0.9323 GB Notification: Performance of SimCode: time 7.42e-07/3.426, allocations: 0 / 1.912 GB, free: 143 MB / 0.9323 GB Notification: Performance of Templates: time 0.04114/3.467, allocations: 26.46 MB / 1.938 GB, free: 131.8 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)