Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.6 MB / 307.5 MB, free: 5.148 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.001127/0.001127, allocations: 187.9 kB / 377.1 MB, free: 1.508 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.683/1.683, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0009106/0.0009103, allocations: 96.91 kB / 0.751 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3033, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.978/2.282, allocations: 432.5 MB / 1.411 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/2.282, allocations: 96.09 kB / 1.411 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.174/5.456, allocations: 0.7662 GB / 2.177 GB, free: 133.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.619e-06/5.456, allocations: 0 / 2.177 GB, free: 133.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001883/5.458, allocations: 194.8 kB / 2.177 GB, free: 133.7 MB / 0.948 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.03276/5.491, allocations: 6.995 MB / 2.184 GB, free: 131.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/5.491, allocations: 16.45 kB / 2.184 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007053/5.498, allocations: 0.8412 MB / 2.185 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06977/5.568, allocations: 23.26 MB / 2.208 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001282/5.569, allocations: 415.2 kB / 2.208 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003275/5.572, allocations: 0.5125 MB / 2.208 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/5.599, allocations: 7.124 MB / 2.215 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000254/5.599, allocations: 23.44 kB / 2.215 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/5.601, allocations: 224.5 kB / 2.216 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003115/5.601, allocations: 169.1 kB / 2.216 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01776/5.619, allocations: 5.49 MB / 2.221 GB, free: 128.6 MB / 0.948 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.06021/5.679, allocations: 29.79 MB / 2.25 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006207/5.685, allocations: 3.421 MB / 2.254 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/5.686, allocations: 0.9703 MB / 2.255 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/5.686, allocations: 79.73 kB / 2.255 GB, free: 114.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=253): time 8.215e-06/5.686, allocations: 0 / 2.255 GB, free: 114.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=253): time 0.01013/5.697, allocations: 4.396 MB / 2.259 GB, free: 113.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/5.697, allocations: 81.33 kB / 2.259 GB, free: 113.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01407/5.711, allocations: 5.739 MB / 2.265 GB, free: 113.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009808/5.712, allocations: 84.64 kB / 2.265 GB, free: 113.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003791/5.716, allocations: 2.982 MB / 2.268 GB, free: 111.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001554/5.717, allocations: 0.9029 MB / 2.269 GB, free: 111.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004576/5.718, allocations: 68.62 kB / 2.269 GB, free: 111.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002419/5.718, allocations: 446 kB / 2.269 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/5.72, allocations: 1.502 MB / 2.27 GB, free: 110.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/5.723, allocations: 2.654 MB / 2.273 GB, free: 108.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/5.725, allocations: 2.105 MB / 2.275 GB, free: 107.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/5.725, allocations: 10.09 kB / 2.275 GB, free: 107.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007751/5.733, allocations: 4.753 MB / 2.28 GB, free: 105.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003791/5.737, allocations: 17.15 MB / 2.297 GB, free: 87.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.684e-05/5.737, allocations: 34.53 kB / 2.297 GB, free: 87.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.862e-05/5.737, allocations: 60.59 kB / 2.297 GB, free: 87.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/5.741, allocations: 0.883 MB / 2.297 GB, free: 87.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005767/5.741, allocations: 1.242 MB / 2.299 GB, free: 86.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006544/5.748, allocations: 0.5875 MB / 2.299 GB, free: 86.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006492/5.748, allocations: 167.9 kB / 2.299 GB, free: 86.08 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/5.748, allocations: 4.531 kB / 2.299 GB, free: 86.08 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008039/5.756, allocations: 4.248 MB / 2.304 GB, free: 84.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/5.757, allocations: 36.72 kB / 2.304 GB, free: 84.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.592e-05/5.757, allocations: 60.28 kB / 2.304 GB, free: 84.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/5.76, allocations: 0.8636 MB / 2.304 GB, free: 84.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001079/5.76, allocations: 73.5 kB / 2.305 GB, free: 84.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006449/5.766, allocations: 0.5189 MB / 2.305 GB, free: 84.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005746/5.767, allocations: 166 kB / 2.305 GB, free: 84.11 MB / 0.948 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.005625/5.773, allocations: 2.507 MB / 2.308 GB, free: 83.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002467/5.775, allocations: 0.5481 MB / 2.308 GB, free: 82.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007925/5.783, allocations: 3.709 MB / 2.312 GB, free: 81.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/5.783, allocations: 30 kB / 2.312 GB, free: 81.37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/5.783, allocations: 3.438 kB / 2.312 GB, free: 81.37 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004085/5.787, allocations: 2.811 MB / 2.315 GB, free: 80.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03035/5.818, allocations: 9.398 MB / 2.324 GB, free: 76.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/5.818, allocations: 7.609 kB / 2.324 GB, free: 76.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/5.82, allocations: 0.5449 MB / 2.324 GB, free: 76.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/5.82, allocations: 7.656 kB / 2.324 GB, free: 76.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/5.82, allocations: 79.52 kB / 2.324 GB, free: 76.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003935/5.821, allocations: 1.189 MB / 2.326 GB, free: 75.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/5.821, allocations: 3.625 kB / 2.326 GB, free: 75.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008148/5.829, allocations: 5.652 MB / 2.331 GB, free: 73.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005421/5.834, allocations: 1.333 MB / 2.332 GB, free: 72.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002962/5.837, allocations: 64.86 kB / 2.332 GB, free: 72.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006777/5.844, allocations: 268.1 kB / 2.333 GB, free: 72.33 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003918/5.845, allocations: 152.8 kB / 2.333 GB, free: 72.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007171/5.845, allocations: 143.9 kB / 2.333 GB, free: 72.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01141/5.857, allocations: 4.533 MB / 2.337 GB, free: 70.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/5.857, allocations: 0 / 2.337 GB, free: 70.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01702/5.874, allocations: 3.243 MB / 2.341 GB, free: 70.14 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 () * 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.00274/5.877, allocations: 0.6963 MB / 2.341 GB, free: 69.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01126/5.888, allocations: 5.748 MB / 2.347 GB, free: 68.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/5.888, allocations: 4.469 kB / 2.347 GB, free: 68.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/5.891, allocations: 1.562 MB / 2.348 GB, free: 67.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01959/5.911, allocations: 3.865 MB / 2.352 GB, free: 66.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03217/5.943, allocations: 15.67 MB / 2.367 GB, free: 56.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00572/5.949, allocations: 4.633 MB / 2.372 GB, free: 53.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01141/5.96, allocations: 3.026 MB / 2.375 GB, free: 51.42 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/5.962, allocations: 477 kB / 2.375 GB, free: 50.99 MB / 0.948 GB Notification: Performance of SimCode: time 1.373e-06/5.962, allocations: 0 / 2.375 GB, free: 50.99 MB / 0.948 GB Notification: Performance of Templates: time 0.8529/6.815, allocations: 126.3 MB / 2.499 GB, free: 119.6 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)