Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.145/2.145, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001364/0.001364, allocations: 180.4 kB / 326.2 MB, free: 2.887 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.352/2.352, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009324/0.0009322, allocations: 91.94 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.000476, allocations: 15.53 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 106.2 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.454, allocations: 423.7 MB / 1.313 GB, free: 11.65 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.455, allocations: 94.83 kB / 1.313 GB, free: 11.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.76/5.214, allocations: 0.7454 GB / 2.059 GB, free: 33.61 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.865e-06/5.214, allocations: 0 / 2.059 GB, free: 33.61 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001417/5.216, allocations: 183.8 kB / 2.059 GB, free: 33.43 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.03046/5.246, allocations: 6.997 MB / 2.066 GB, free: 26.34 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/5.246, allocations: 8.031 kB / 2.066 GB, free: 26.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006205/5.253, allocations: 0.8278 MB / 2.067 GB, free: 25.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06405/5.317, allocations: 19.79 MB / 2.086 GB, free: 5.488 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007144/5.318, allocations: 412.8 kB / 2.086 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002517/5.32, allocations: 0.5155 MB / 2.087 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7013/6.021, allocations: 7.047 MB / 2.094 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003255/6.022, allocations: 28.22 kB / 2.094 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001736/6.024, allocations: 217.8 kB / 2.094 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002493/6.024, allocations: 167 kB / 2.094 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/6.044, allocations: 5.489 MB / 2.099 GB, free: 137.3 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.06463/6.108, allocations: 29.35 MB / 2.128 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008453/6.117, allocations: 3.213 MB / 2.131 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004767/6.122, allocations: 1.804 MB / 2.133 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/6.123, allocations: 0.9756 MB / 2.134 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/6.123, allocations: 72.47 kB / 2.134 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=253): time 5.56e-06/6.123, allocations: 0 / 2.134 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=253): time 0.01458/6.138, allocations: 4.433 MB / 2.138 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/6.138, allocations: 75.25 kB / 2.138 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01589/6.154, allocations: 5.79 MB / 2.144 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009792/6.155, allocations: 77.73 kB / 2.144 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004835/6.16, allocations: 2.953 MB / 2.147 GB, free: 122 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001995/6.162, allocations: 0.904 MB / 2.148 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004756/6.162, allocations: 67.16 kB / 2.148 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004032/6.163, allocations: 454.3 kB / 2.148 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004659/6.167, allocations: 1.51 MB / 2.15 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005916/6.173, allocations: 2.68 MB / 2.152 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006039/6.179, allocations: 2.117 MB / 2.155 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-05/6.18, allocations: 11.03 kB / 2.155 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01651/6.196, allocations: 4.779 MB / 2.159 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008005/6.197, allocations: 1.159 MB / 2.16 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-05/6.197, allocations: 36.56 kB / 2.16 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.41e-05/6.197, allocations: 57.09 kB / 2.16 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006244/6.203, allocations: 0.8151 MB / 2.161 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008086/6.204, allocations: 1.247 MB / 2.162 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008533/6.213, allocations: 0.551 MB / 2.163 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000987/6.214, allocations: 165.7 kB / 2.163 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/6.214, allocations: 9.75 kB / 2.163 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01251/6.227, allocations: 4.271 MB / 2.167 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.24e-05/6.227, allocations: 36.5 kB / 2.167 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.22e-05/6.227, allocations: 55.72 kB / 2.167 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005745/6.232, allocations: 0.7831 MB / 2.168 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001169/6.233, allocations: 79.77 kB / 2.168 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008072/6.241, allocations: 0.4897 MB / 2.169 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/6.242, allocations: 165.1 kB / 2.169 GB, free: 116.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006951/6.249, allocations: 2.502 MB / 2.171 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00231/6.251, allocations: 0.5433 MB / 2.172 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/6.264, allocations: 3.737 MB / 2.176 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-05/6.264, allocations: 32.45 kB / 2.176 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/6.264, allocations: 0 / 2.176 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009112/6.273, allocations: 2.832 MB / 2.178 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02983/6.303, allocations: 9.177 MB / 2.187 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/6.303, allocations: 0 / 2.187 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005115/6.308, allocations: 0.572 MB / 2.188 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.864e-05/6.308, allocations: 15.06 kB / 2.188 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005684/6.309, allocations: 78.66 kB / 2.188 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005446/6.309, allocations: 1.185 MB / 2.189 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/6.309, allocations: 3.938 kB / 2.189 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/6.323, allocations: 5.426 MB / 2.194 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005321/6.328, allocations: 1.205 MB / 2.196 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002249/6.331, allocations: 62.38 kB / 2.196 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007581/6.338, allocations: 291.2 kB / 2.196 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007466/6.339, allocations: 148 kB / 2.196 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005441/6.34, allocations: 126.5 kB / 2.196 GB, free: 113 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01078/6.35, allocations: 4.058 MB / 2.2 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.01e-07/6.35, allocations: 0 / 2.2 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01514/6.366, allocations: 3.18 MB / 2.203 GB, free: 112.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002393/6.368, allocations: 0.6628 MB / 2.204 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01528/6.383, allocations: 5.76 MB / 2.21 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/6.383, allocations: 3.875 kB / 2.21 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/6.387, allocations: 1.548 MB / 2.211 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03319/6.421, allocations: 3.902 MB / 2.215 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04927/6.47, allocations: 15.66 MB / 2.23 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009116/6.479, allocations: 4.514 MB / 2.235 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01685/6.496, allocations: 2.879 MB / 2.237 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/6.499, allocations: 468.1 kB / 2.238 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.222e-06/6.499, allocations: 0 / 2.238 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.2829/6.782, allocations: 122.9 MB / 2.358 GB, free: 44 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)