Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.487/2.487, allocations: 284.8 MB / 297.3 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001454/0.001453, allocations: 184.8 kB / 365.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.1 MB / 0.6241 GB, free: 8.184 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 91.22 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.843e-05, allocations: 11.97 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8224, allocations: 115.2 MB / 0.97 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/2.135, allocations: 431.3 MB / 1.391 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/2.135, allocations: 89.83 kB / 1.391 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.147/6.282, allocations: 0.7647 GB / 2.156 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.024e-06/6.282, allocations: 0 / 2.156 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001384/6.284, allocations: 179.9 kB / 2.156 GB, free: 131.9 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.02164/6.305, allocations: 5.619 MB / 2.162 GB, free: 129 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/6.305, allocations: 9.984 kB / 2.162 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006357/6.312, allocations: 0.8379 MB / 2.162 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07865/6.39, allocations: 23.13 MB / 2.185 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000698/6.391, allocations: 420.8 kB / 2.185 GB, free: 114.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002524/6.394, allocations: 0.5067 MB / 2.186 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/6.418, allocations: 7.009 MB / 2.193 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/6.418, allocations: 24.95 kB / 2.193 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001784/6.42, allocations: 226.9 kB / 2.193 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002344/6.421, allocations: 169.7 kB / 2.193 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/6.438, allocations: 5.351 MB / 2.198 GB, free: 107.9 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.06353/6.501, allocations: 29.8 MB / 2.228 GB, free: 77.11 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009113/6.51, allocations: 3.349 MB / 2.231 GB, free: 73.75 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004113/6.515, allocations: 1.704 MB / 2.232 GB, free: 72.05 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/6.516, allocations: 0.97 MB / 2.233 GB, free: 70.89 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.313e-05/6.516, allocations: 81.06 kB / 2.233 GB, free: 70.81 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 6.112e-06/6.516, allocations: 0 / 2.233 GB, free: 70.81 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.009717/6.526, allocations: 3.14 MB / 2.237 GB, free: 67.65 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/6.526, allocations: 81.41 kB / 2.237 GB, free: 67.56 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01523/6.541, allocations: 5.686 MB / 2.242 GB, free: 61.91 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0009587/6.542, allocations: 81.7 kB / 2.242 GB, free: 61.82 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004323/6.547, allocations: 2.988 MB / 2.245 GB, free: 58.82 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001711/6.548, allocations: 0.9002 MB / 2.246 GB, free: 57.93 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/6.549, allocations: 72 kB / 2.246 GB, free: 57.86 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003075/6.549, allocations: 453.2 kB / 2.247 GB, free: 57.41 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003767/6.553, allocations: 1.451 MB / 2.248 GB, free: 55.95 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004807/6.558, allocations: 2.605 MB / 2.25 GB, free: 52.84 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0051/6.563, allocations: 2.078 MB / 2.253 GB, free: 50.73 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-05/6.563, allocations: 15.89 kB / 2.253 GB, free: 50.72 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.0139/6.577, allocations: 4.662 MB / 2.257 GB, free: 46.01 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003605/6.581, allocations: 17.14 MB / 2.274 GB, free: 27.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.563e-05/6.581, allocations: 39.81 kB / 2.274 GB, free: 27.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.141e-05/6.581, allocations: 64 kB / 2.274 GB, free: 27.53 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00684/6.588, allocations: 0.8736 MB / 2.275 GB, free: 26.65 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007794/6.589, allocations: 1.25 MB / 2.276 GB, free: 25.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008804/6.597, allocations: 0.5769 MB / 2.277 GB, free: 24.77 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/6.598, allocations: 168 kB / 2.277 GB, free: 24.61 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/6.598, allocations: 4 kB / 2.277 GB, free: 24.61 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01138/6.61, allocations: 4.163 MB / 2.281 GB, free: 20.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.251e-05/6.61, allocations: 32 kB / 2.281 GB, free: 20.37 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.472e-05/6.61, allocations: 60 kB / 2.281 GB, free: 20.31 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006369/6.616, allocations: 0.8732 MB / 2.282 GB, free: 19.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/6.617, allocations: 83.67 kB / 2.282 GB, free: 19.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008108/6.625, allocations: 0.5113 MB / 2.282 GB, free: 18.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009401/6.626, allocations: 164 kB / 2.282 GB, free: 18.68 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 () * 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.00123/6.627, allocations: 331.8 kB / 2.283 GB, free: 18.35 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002166/6.629, allocations: 0.552 MB / 2.283 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009814/6.639, allocations: 3.637 MB / 2.287 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/6.639, allocations: 27.98 kB / 2.287 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/6.639, allocations: 3.562 kB / 2.287 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006429/6.646, allocations: 2.744 MB / 2.29 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/6.673, allocations: 9.309 MB / 2.299 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/6.673, allocations: 7.984 kB / 2.299 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004912/6.678, allocations: 0.5451 MB / 2.299 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.073e-05/6.678, allocations: 11.94 kB / 2.299 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005306/6.679, allocations: 79.95 kB / 2.299 GB, free: 1.277 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005101/6.679, allocations: 1.184 MB / 2.3 GB, free: 52 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/6.679, allocations: 4 kB / 2.3 GB, free: 48 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/6.696, allocations: 5.552 MB / 2.306 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006787/6.703, allocations: 1.341 MB / 2.307 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002625/6.705, allocations: 59.98 kB / 2.307 GB, free: 8.953 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008116/6.713, allocations: 267.1 kB / 2.308 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008599/6.714, allocations: 153.7 kB / 2.308 GB, free: 8.539 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006995/6.715, allocations: 143.9 kB / 2.308 GB, free: 8.398 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01371/6.729, allocations: 4.469 MB / 2.312 GB, free: 3.961 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.32e-07/6.729, allocations: 4 kB / 2.312 GB, free: 3.957 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0178/6.747, allocations: 3.246 MB / 2.315 GB, free: 0.7031 MB / 0.948 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 () * 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.00289/6.75, allocations: 0.6967 MB / 2.316 GB, free: 92 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01725/6.767, allocations: 5.81 MB / 2.322 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/6.767, allocations: 4.562 kB / 2.322 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004685/6.772, allocations: 1.522 MB / 2.323 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03231/6.804, allocations: 3.861 MB / 2.327 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7401/7.544, allocations: 11.67 MB / 2.338 GB, free: 151.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009947/7.554, allocations: 4.643 MB / 2.343 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.02728/7.582, allocations: 4.974 MB / 2.348 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/7.584, allocations: 351.7 kB / 2.348 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.923e-06/7.584, allocations: 0 / 2.348 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.4153/7.999, allocations: 130.2 MB / 2.475 GB, free: 144.7 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)