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.597/1.597, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001106/0.001106, allocations: 172.9 kB / 366.7 MB, free: 1.691 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.555/1.555, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0009049/0.0009049, allocations: 96.84 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.504e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7357/0.7357, allocations: 116.3 MB / 0.9732 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.933, allocations: 431.8 MB / 1.395 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/1.933, allocations: 86.27 kB / 1.395 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.909/4.843, allocations: 0.7601 GB / 2.155 GB, free: 147.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.585e-06/4.843, allocations: 3.281 kB / 2.155 GB, free: 147.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001432/4.844, allocations: 189.2 kB / 2.155 GB, free: 147.1 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.02401/4.868, allocations: 5.617 MB / 2.161 GB, free: 144.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/4.868, allocations: 11.59 kB / 2.161 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006091/4.874, allocations: 0.8284 MB / 2.162 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05388/4.928, allocations: 23.1 MB / 2.184 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005388/4.929, allocations: 247.2 kB / 2.184 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002362/4.931, allocations: 305.1 kB / 2.185 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01379/4.945, allocations: 5.014 MB / 2.19 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02091/4.966, allocations: 6.276 MB / 2.196 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005587/4.967, allocations: 23.06 kB / 2.196 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002763/4.969, allocations: 12.59 kB / 2.196 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002429/4.97, allocations: 168.3 kB / 2.196 GB, free: 132.6 MB / 0.948 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.05155/5.021, allocations: 28.69 MB / 2.224 GB, free: 112.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005593/5.027, allocations: 3.222 MB / 2.227 GB, free: 110.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/5.029, allocations: 1.618 MB / 2.229 GB, free: 110.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/5.03, allocations: 0.9788 MB / 2.23 GB, free: 109 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.704e-05/5.031, allocations: 74.16 kB / 2.23 GB, free: 108.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=253): time 6.291e-06/5.031, allocations: 3.875 kB / 2.23 GB, free: 108.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=253): time 0.007426/5.038, allocations: 3.039 MB / 2.233 GB, free: 107.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/5.038, allocations: 76.06 kB / 2.233 GB, free: 107.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/5.05, allocations: 4.652 MB / 2.237 GB, free: 105.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/5.051, allocations: 29.61 kB / 2.237 GB, free: 105 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003083/5.054, allocations: 2.927 MB / 2.24 GB, free: 102.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001521/5.056, allocations: 0.8615 MB / 2.241 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/5.056, allocations: 0 / 2.241 GB, free: 101.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001948/5.056, allocations: 455.7 kB / 2.241 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/5.058, allocations: 1.384 MB / 2.243 GB, free: 100.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/5.06, allocations: 2.525 MB / 2.245 GB, free: 98.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003061/5.063, allocations: 2.095 MB / 2.247 GB, free: 97.13 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/5.063, allocations: 12 kB / 2.247 GB, free: 97.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007358/5.07, allocations: 4.334 MB / 2.251 GB, free: 92.76 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003201/5.074, allocations: 16.52 MB / 2.268 GB, free: 75.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.893e-05/5.074, allocations: 39.95 kB / 2.268 GB, free: 75.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-05/5.074, allocations: 60 kB / 2.268 GB, free: 75.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/5.077, allocations: 0.8874 MB / 2.269 GB, free: 74.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005296/5.078, allocations: 1.242 MB / 2.27 GB, free: 72.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005812/5.084, allocations: 455.9 kB / 2.27 GB, free: 72.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000729/5.085, allocations: 164 kB / 2.27 GB, free: 72.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/5.085, allocations: 4 kB / 2.27 GB, free: 72.23 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00609/5.091, allocations: 3.836 MB / 2.274 GB, free: 68.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/5.091, allocations: 36 kB / 2.274 GB, free: 68.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.561e-05/5.091, allocations: 63.92 kB / 2.274 GB, free: 68.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/5.094, allocations: 0.8657 MB / 2.275 GB, free: 67.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-05/5.094, allocations: 75.72 kB / 2.275 GB, free: 67.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005096/5.099, allocations: 376.7 kB / 2.275 GB, free: 66.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005576/5.099, allocations: 168 kB / 2.276 GB, free: 66.79 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 () * 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.001042/5.1, allocations: 219.7 kB / 2.276 GB, free: 66.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/5.102, allocations: 490 kB / 2.276 GB, free: 66.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005794/5.108, allocations: 3.446 MB / 2.28 GB, free: 62.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/5.108, allocations: 35.98 kB / 2.28 GB, free: 62.56 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/5.108, allocations: 0 / 2.28 GB, free: 62.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004948/5.113, allocations: 2.678 MB / 2.282 GB, free: 59.83 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/5.136, allocations: 8.607 MB / 2.291 GB, free: 51.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/5.136, allocations: 0 / 2.291 GB, free: 51.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/5.138, allocations: 0.5408 MB / 2.291 GB, free: 50.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.3e-05/5.138, allocations: 11.94 kB / 2.291 GB, free: 50.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/5.139, allocations: 47.95 kB / 2.291 GB, free: 50.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004814/5.139, allocations: 1.18 MB / 2.292 GB, free: 49.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/5.139, allocations: 4 kB / 2.292 GB, free: 49.35 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/5.15, allocations: 5.373 MB / 2.298 GB, free: 43.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005437/5.155, allocations: 1.252 MB / 2.299 GB, free: 42.58 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00242/5.158, allocations: 15.98 kB / 2.299 GB, free: 42.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005794/5.164, allocations: 219.1 kB / 2.299 GB, free: 42.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/5.164, allocations: 157.8 kB / 2.299 GB, free: 42.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005424/5.164, allocations: 143.9 kB / 2.299 GB, free: 42.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007289/5.172, allocations: 3.587 MB / 2.303 GB, free: 38.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/5.172, allocations: 0 / 2.303 GB, free: 38.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01622/5.188, allocations: 3.193 MB / 2.306 GB, free: 35.27 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.002746/5.191, allocations: 0.6606 MB / 2.307 GB, free: 34.69 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009644/5.2, allocations: 5.483 MB / 2.312 GB, free: 29.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/5.201, allocations: 12.62 kB / 2.312 GB, free: 29.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/5.203, allocations: 1.475 MB / 2.314 GB, free: 27.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0178/5.221, allocations: 3.18 MB / 2.317 GB, free: 24.67 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/5.243, allocations: 11.3 MB / 2.328 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003545/5.246, allocations: 4.648 MB / 2.332 GB, free: 8.781 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01365/5.26, allocations: 4.427 MB / 2.337 GB, free: 4.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/5.261, allocations: 327.3 kB / 2.337 GB, free: 4.18 MB / 0.948 GB Notification: Performance of SimCode: time 1.433e-06/5.261, allocations: 0 / 2.337 GB, free: 4.18 MB / 0.948 GB Notification: Performance of Templates: time 0.8023/6.064, allocations: 107.5 MB / 2.442 GB, free: 147.1 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)