Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001115/0.001115, allocations: 181.1 kB / 371.8 MB, free: 10.29 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.857/1.857, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 103.4 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004931, allocations: 14.78 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2649, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.365, allocations: 431.5 MB / 1.401 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.366, allocations: 94.33 kB / 1.401 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.175/4.541, allocations: 0.7662 GB / 2.167 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.724e-06/4.541, allocations: 0 / 2.167 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001416/4.542, allocations: 191.4 kB / 2.167 GB, free: 153.2 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.0274/4.57, allocations: 7.001 MB / 2.174 GB, free: 151 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/4.57, allocations: 10.53 kB / 2.174 GB, free: 151 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0068/4.577, allocations: 0.8452 MB / 2.175 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05764/4.634, allocations: 23.26 MB / 2.198 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005561/4.635, allocations: 414 kB / 2.198 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002192/4.637, allocations: 0.5127 MB / 2.199 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/4.656, allocations: 7.117 MB / 2.206 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000383/4.657, allocations: 27.69 kB / 2.206 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00212/4.659, allocations: 220.8 kB / 2.206 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002476/4.659, allocations: 166.5 kB / 2.206 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/4.675, allocations: 5.491 MB / 2.211 GB, free: 148.2 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.05012/4.725, allocations: 29.8 MB / 2.24 GB, free: 135 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006332/4.731, allocations: 3.406 MB / 2.244 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/4.732, allocations: 0.9736 MB / 2.245 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/4.732, allocations: 87.55 kB / 2.245 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 7.234e-06/4.732, allocations: 0 / 2.245 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.01014/4.743, allocations: 4.397 MB / 2.249 GB, free: 133.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/4.743, allocations: 79.78 kB / 2.249 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01311/4.756, allocations: 5.742 MB / 2.255 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0009586/4.757, allocations: 85.38 kB / 2.255 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003863/4.761, allocations: 2.978 MB / 2.258 GB, free: 132.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00164/4.762, allocations: 0.9014 MB / 2.259 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006122/4.763, allocations: 67.91 kB / 2.259 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003804/4.763, allocations: 451.8 kB / 2.259 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/4.766, allocations: 1.501 MB / 2.261 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003348/4.769, allocations: 2.648 MB / 2.263 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/4.773, allocations: 2.107 MB / 2.265 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.216e-05/4.773, allocations: 11.25 kB / 2.265 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009369/4.782, allocations: 4.747 MB / 2.27 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003367/4.786, allocations: 17.15 MB / 2.287 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.54e-05/4.786, allocations: 39.34 kB / 2.287 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.555e-05/4.786, allocations: 57 kB / 2.287 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/4.79, allocations: 0.8819 MB / 2.288 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000647/4.79, allocations: 1.248 MB / 2.289 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006546/4.797, allocations: 0.5867 MB / 2.289 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008932/4.798, allocations: 169.5 kB / 2.29 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/4.798, allocations: 0.75 kB / 2.29 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008709/4.807, allocations: 4.254 MB / 2.294 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/4.807, allocations: 37.62 kB / 2.294 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.407e-05/4.807, allocations: 61.72 kB / 2.294 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/4.81, allocations: 0.8581 MB / 2.295 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00012/4.811, allocations: 78 kB / 2.295 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006177/4.817, allocations: 0.5152 MB / 2.295 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008954/4.818, allocations: 168 kB / 2.295 GB, free: 109.7 MB / 0.9323 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.005761/4.823, allocations: 2.504 MB / 2.298 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00237/4.826, allocations: 0.5436 MB / 2.298 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008266/4.834, allocations: 3.711 MB / 2.302 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/4.834, allocations: 29.09 kB / 2.302 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/4.834, allocations: 3.875 kB / 2.302 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004354/4.839, allocations: 2.815 MB / 2.305 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/4.863, allocations: 9.397 MB / 2.314 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/4.863, allocations: 3.844 kB / 2.314 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/4.865, allocations: 0.5305 MB / 2.314 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.686e-05/4.866, allocations: 12.22 kB / 2.314 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004252/4.866, allocations: 75.67 kB / 2.315 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004992/4.866, allocations: 1.183 MB / 2.316 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/4.867, allocations: 2.531 kB / 2.316 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009565/4.876, allocations: 5.659 MB / 2.321 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005461/4.882, allocations: 1.341 MB / 2.323 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002574/4.884, allocations: 62.19 kB / 2.323 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006016/4.89, allocations: 262.1 kB / 2.323 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006721/4.891, allocations: 152.4 kB / 2.323 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000889/4.892, allocations: 149 kB / 2.323 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01002/4.902, allocations: 4.532 MB / 2.328 GB, free: 98.65 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.3e-07/4.902, allocations: 3.281 kB / 2.328 GB, free: 98.65 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01555/4.918, allocations: 3.241 MB / 2.331 GB, free: 98.04 MB / 0.9323 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.002579/4.92, allocations: 0.7133 MB / 2.331 GB, free: 97.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01061/4.931, allocations: 5.742 MB / 2.337 GB, free: 95.97 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/4.931, allocations: 4.125 kB / 2.337 GB, free: 95.97 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00275/4.934, allocations: 1.57 MB / 2.339 GB, free: 95.47 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01843/4.952, allocations: 3.856 MB / 2.342 GB, free: 94.91 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02964/4.982, allocations: 15.67 MB / 2.358 GB, free: 87.11 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00591/4.988, allocations: 4.635 MB / 2.362 GB, free: 85.48 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01149/4.999, allocations: 3.02 MB / 2.365 GB, free: 83.56 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/5.001, allocations: 480.1 kB / 2.366 GB, free: 83.13 MB / 0.9323 GB Notification: Performance of SimCode: time 1.183e-06/5.001, allocations: 0 / 2.366 GB, free: 83.13 MB / 0.9323 GB Notification: Performance of Templates: time 0.1909/5.192, allocations: 126.3 MB / 2.489 GB, free: 3.922 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)