Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.515/2.515, allocations: 287.5 MB / 303.2 MB, free: 8.176 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.001413/0.001413, allocations: 182.2 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.0008934/0.0008932, allocations: 100.5 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004662, allocations: 12.45 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2169, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/1.533, allocations: 431.4 MB / 1.401 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003926/1.534, allocations: 111.4 kB / 1.401 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.648/6.182, allocations: 0.762 GB / 2.163 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.906e-06/6.182, allocations: 0 / 2.163 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001409/6.183, allocations: 186.7 kB / 2.163 GB, free: 152.1 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.03196/6.215, allocations: 6.933 MB / 2.17 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/6.215, allocations: 7.844 kB / 2.17 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006369/6.222, allocations: 0.8425 MB / 2.171 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06835/6.29, allocations: 20.36 MB / 2.19 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008099/6.291, allocations: 418.4 kB / 2.191 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002618/6.293, allocations: 0.508 MB / 2.191 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02467/6.318, allocations: 7.166 MB / 2.198 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003882/6.319, allocations: 18.09 kB / 2.198 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002009/6.321, allocations: 225.1 kB / 2.199 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/6.321, allocations: 174.4 kB / 2.199 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/6.338, allocations: 5.482 MB / 2.204 GB, free: 146.9 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.05985/6.398, allocations: 29.48 MB / 2.233 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007367/6.405, allocations: 3.22 MB / 2.236 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00412/6.41, allocations: 1.803 MB / 2.238 GB, free: 133.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/6.411, allocations: 0.978 MB / 2.239 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.599e-05/6.411, allocations: 72.25 kB / 2.239 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 5.871e-06/6.411, allocations: 2.25 kB / 2.239 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.01258/6.424, allocations: 4.436 MB / 2.243 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/6.424, allocations: 85.92 kB / 2.243 GB, free: 132.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/6.438, allocations: 5.783 MB / 2.249 GB, free: 131.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0009344/6.439, allocations: 79.98 kB / 2.249 GB, free: 131.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003805/6.442, allocations: 2.957 MB / 2.252 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001649/6.444, allocations: 0.8913 MB / 2.253 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/6.444, allocations: 71.53 kB / 2.253 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002625/6.445, allocations: 454.9 kB / 2.253 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003703/6.448, allocations: 1.51 MB / 2.255 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004633/6.453, allocations: 2.684 MB / 2.257 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009108/6.462, allocations: 4.526 MB / 2.262 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.465e-05/6.462, allocations: 11.09 kB / 2.262 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01326/6.476, allocations: 4.776 MB / 2.266 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007703/6.476, allocations: 1.161 MB / 2.267 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-05/6.477, allocations: 33.84 kB / 2.268 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.97e-05/6.477, allocations: 58.44 kB / 2.268 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00595/6.483, allocations: 0.8034 MB / 2.268 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007321/6.483, allocations: 1.249 MB / 2.27 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00813/6.492, allocations: 0.5544 MB / 2.27 GB, free: 124 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009153/6.492, allocations: 169.3 kB / 2.27 GB, free: 124 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/6.493, allocations: 3.812 kB / 2.27 GB, free: 124 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01106/6.504, allocations: 4.274 MB / 2.274 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-05/6.504, allocations: 35.16 kB / 2.274 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.492e-05/6.504, allocations: 58.19 kB / 2.275 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005524/6.509, allocations: 0.7889 MB / 2.275 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/6.509, allocations: 81.44 kB / 2.275 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007898/6.517, allocations: 0.49 MB / 2.276 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009914/6.518, allocations: 165.3 kB / 2.276 GB, free: 123.6 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.006712/6.525, allocations: 2.506 MB / 2.278 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002279/6.527, allocations: 0.5509 MB / 2.279 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/6.539, allocations: 3.724 MB / 2.283 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/6.539, allocations: 35.73 kB / 2.283 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/6.539, allocations: 0 / 2.283 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006995/6.546, allocations: 2.839 MB / 2.285 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03177/6.578, allocations: 9.235 MB / 2.294 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/6.578, allocations: 0 / 2.294 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004749/6.583, allocations: 0.5776 MB / 2.295 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.82e-05/6.583, allocations: 6.406 kB / 2.295 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003526/6.583, allocations: 75.94 kB / 2.295 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005283/6.584, allocations: 1.192 MB / 2.296 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/6.584, allocations: 0 / 2.296 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/6.598, allocations: 5.44 MB / 2.302 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005329/6.603, allocations: 1.236 MB / 2.303 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002216/6.605, allocations: 62.08 kB / 2.303 GB, free: 115.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007403/6.613, allocations: 289.3 kB / 2.303 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007617/6.613, allocations: 154.3 kB / 2.303 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000666/6.614, allocations: 139.8 kB / 2.303 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01057/6.625, allocations: 4.061 MB / 2.307 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.72e-07/6.625, allocations: 2.344 kB / 2.307 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01566/6.64, allocations: 3.191 MB / 2.31 GB, free: 113.4 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.002534/6.643, allocations: 0.6897 MB / 2.311 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01528/6.658, allocations: 5.754 MB / 2.317 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/6.658, allocations: 3.875 kB / 2.317 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004241/6.663, allocations: 1.542 MB / 2.318 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03441/6.697, allocations: 3.847 MB / 2.322 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03625/6.733, allocations: 15.67 MB / 2.337 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009246/6.743, allocations: 4.52 MB / 2.342 GB, free: 101 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01658/6.759, allocations: 2.907 MB / 2.345 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002664/6.762, allocations: 470.5 kB / 2.345 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.483e-06/6.762, allocations: 0 / 2.345 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.2952/7.057, allocations: 124.4 MB / 2.467 GB, free: 13.04 MB / 0.948 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)