Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007432/0.007432, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.151/3.151, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006349/0.000635, allocations: 13.64 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4106, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.1106/0.5212, allocations: 115.5 MB / 1.187 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04124/0.5624, allocations: 27.6 MB / 1.214 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01013/0.5726, allocations: 115.2 kB / 1.214 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00533/0.578, allocations: 1.224 MB / 1.215 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01333/0.5914, allocations: 4.199 MB / 1.219 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008304/0.5997, allocations: 2.808 MB / 1.222 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01902/0.6187, allocations: 10.83 MB / 1.233 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005106/0.6239, allocations: 2.145 MB / 1.235 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008142/0.6321, allocations: 2.765 MB / 1.237 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004377/0.6365, allocations: 2.216 MB / 1.24 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004781/0.637, allocations: 119.9 kB / 1.24 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.6475, allocations: 3.205 MB / 1.243 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007764/0.6482, allocations: 0.5443 MB / 1.243 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.6506, allocations: 1.49 MB / 1.245 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8164/1.467, allocations: 18.1 MB / 1.262 GB, free: 33.96 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.467, allocations: 0 / 1.262 GB, free: 33.96 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.406e-06/1.467, allocations: 0 / 1.262 GB, free: 33.96 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000213/1.467, allocations: 0 / 1.262 GB, free: 33.96 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.01282/1.48, allocations: 2.974 MB / 1.265 GB, free: 32.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.799e-05/1.48, allocations: 10.97 kB / 1.265 GB, free: 32.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/1.483, allocations: 336.8 kB / 1.266 GB, free: 32.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005825/1.489, allocations: 2.552 MB / 1.268 GB, free: 31.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/1.489, allocations: 133.7 kB / 1.268 GB, free: 31.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/1.489, allocations: 177.7 kB / 1.268 GB, free: 31.78 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/1.493, allocations: 1.9 MB / 1.27 GB, free: 31.55 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.181e-05/1.493, allocations: 7.969 kB / 1.27 GB, free: 31.55 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/1.493, allocations: 73 kB / 1.27 GB, free: 31.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-05/1.493, allocations: 46.78 kB / 1.27 GB, free: 31.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/1.496, allocations: 1.41 MB / 1.272 GB, free: 31.54 MB / 0.9981 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.01341/1.509, allocations: 9.997 MB / 1.282 GB, free: 26.37 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/1.511, allocations: 0.9166 MB / 1.283 GB, free: 26.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/1.512, allocations: 0.5501 MB / 1.283 GB, free: 26.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002236/1.514, allocations: 3.087 MB / 1.286 GB, free: 22.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/1.514, allocations: 48.81 kB / 1.286 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=121): time 4.227e-06/1.514, allocations: 0 / 1.286 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=121): time 0.007116/1.521, allocations: 2.259 MB / 1.288 GB, free: 22.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/1.521, allocations: 64 kB / 1.288 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003866/1.525, allocations: 2.117 MB / 1.29 GB, free: 22.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/1.525, allocations: 50.8 kB / 1.29 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009252/1.526, allocations: 1.171 MB / 1.292 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005275/1.527, allocations: 434.8 kB / 1.292 GB, free: 21.56 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/1.527, allocations: 117.7 kB / 1.292 GB, free: 21.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/1.527, allocations: 308.4 kB / 1.292 GB, free: 21.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008796/1.528, allocations: 475.7 kB / 1.293 GB, free: 21.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/1.529, allocations: 0.8299 MB / 1.294 GB, free: 20.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/1.531, allocations: 1.358 MB / 1.295 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.531, allocations: 2.438 kB / 1.295 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00513/1.536, allocations: 1.904 MB / 1.297 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/1.537, allocations: 370.2 kB / 1.297 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-05/1.537, allocations: 17.77 kB / 1.297 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/1.539, allocations: 391.1 kB / 1.298 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/1.54, allocations: 293.1 kB / 1.298 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/1.541, allocations: 0.865 MB / 1.299 GB, free: 19.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/1.544, allocations: 237.7 kB / 1.299 GB, free: 19.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/1.544, allocations: 77.2 kB / 1.299 GB, free: 19.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.544, allocations: 4.125 kB / 1.299 GB, free: 19.21 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003993/1.548, allocations: 1.658 MB / 1.301 GB, free: 19.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/1.548, allocations: 16.22 kB / 1.301 GB, free: 19.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/1.55, allocations: 379.1 kB / 1.301 GB, free: 19.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009688/1.551, allocations: 297.3 kB / 1.301 GB, free: 19.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/1.552, allocations: 0.8688 MB / 1.302 GB, free: 18.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/1.554, allocations: 212.2 kB / 1.302 GB, free: 18.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/1.555, allocations: 74.39 kB / 1.302 GB, free: 18.53 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (168): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001568/1.556, allocations: 0.5799 MB / 1.303 GB, free: 18.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/1.557, allocations: 250.2 kB / 1.303 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005022/1.562, allocations: 2.392 MB / 1.306 GB, free: 18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.223e-05/1.562, allocations: 25.09 kB / 1.306 GB, free: 18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.562, allocations: 0 / 1.306 GB, free: 18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003247/1.565, allocations: 1.8 MB / 1.307 GB, free: 17.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/1.575, allocations: 5.175 MB / 1.312 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/1.575, allocations: 9.75 kB / 1.312 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008317/1.576, allocations: 228.2 kB / 1.313 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/1.578, allocations: 311.9 kB / 1.313 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/1.578, allocations: 48.78 kB / 1.313 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009199/1.579, allocations: 0.8719 MB / 1.314 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.579, allocations: 12.7 kB / 1.314 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005141/1.584, allocations: 3.022 MB / 1.317 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/1.586, allocations: 0.6208 MB / 1.317 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/1.586, allocations: 37.83 kB / 1.317 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/1.587, allocations: 140.9 kB / 1.318 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/1.588, allocations: 134.1 kB / 1.318 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/1.588, allocations: 78.66 kB / 1.318 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002545/1.59, allocations: 1.554 MB / 1.319 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.59, allocations: 0 / 1.319 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006788/1.597, allocations: 1.507 MB / 1.321 GB, free: 14.77 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (pipChW.del.x,pipChW.timDel.x,pipChW.vol_b.dynBal.U,pipChW.vol_a.dynBal.U,senTemChWIn.T,senTemChWOut.T,pipHotW.del.x,pipHotW.timDel.x,pipHotW.vol_b.dynBal.U,pipHotW.vol_a.dynBal.U,senTemHotWIn.T,senTemHotWOut.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 (141): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008127/1.605, allocations: 3.68 MB / 1.324 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004632/1.61, allocations: 2.46 MB / 1.327 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.61, allocations: 0 / 1.327 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/1.612, allocations: 1.045 MB / 1.328 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009807/1.622, allocations: 1.392 MB / 1.329 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007675/1.629, allocations: 6.056 MB / 1.335 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.63, allocations: 1.682 MB / 1.337 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002731/1.633, allocations: 0.6665 MB / 1.337 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/1.634, allocations: 232 kB / 1.338 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.634, allocations: 0 / 1.338 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of Templates: time 0.1198/1.753, allocations: 63.75 MB / 1.4 GB, free: 9.445 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)