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.001517/0.001517, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001425/0.001426, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.496/1.496, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.301/3.301, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.33 kB / 0.9113 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3595, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.1174/0.477, allocations: 117.4 MB / 1.182 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04016/0.5172, allocations: 27.92 MB / 1.209 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007308/0.5245, allocations: 123.2 kB / 1.21 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006777/0.5314, allocations: 1.232 MB / 1.211 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01673/0.5482, allocations: 4.204 MB / 1.215 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01271/0.5609, allocations: 2.801 MB / 1.218 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01809/0.579, allocations: 10.82 MB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005462/0.5845, allocations: 2.212 MB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008935/0.5935, allocations: 2.816 MB / 1.233 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005171/0.5987, allocations: 2.29 MB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.6001, allocations: 140 kB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01195/0.612, allocations: 3.244 MB / 1.239 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.6137, allocations: 0.5756 MB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004517/0.6183, allocations: 1.523 MB / 1.241 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8314/1.45, allocations: 18.19 MB / 1.258 GB, free: 40.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.45, allocations: 2.844 kB / 1.258 GB, free: 40.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.936e-06/1.45, allocations: 0.7031 kB / 1.258 GB, free: 40.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002229/1.45, allocations: 1.188 kB / 1.258 GB, free: 40.59 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.0124/1.462, allocations: 3.545 MB / 1.262 GB, free: 39.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.462, allocations: 10.5 kB / 1.262 GB, free: 39.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/1.464, allocations: 339.1 kB / 1.262 GB, free: 38.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005565/1.469, allocations: 2.55 MB / 1.265 GB, free: 38.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/1.469, allocations: 130.1 kB / 1.265 GB, free: 38.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/1.47, allocations: 181.2 kB / 1.265 GB, free: 38.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/1.473, allocations: 1.897 MB / 1.267 GB, free: 38.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.917e-05/1.473, allocations: 5.609 kB / 1.267 GB, free: 38.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/1.474, allocations: 68.16 kB / 1.267 GB, free: 38.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/1.474, allocations: 50.94 kB / 1.267 GB, free: 38.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/1.476, allocations: 1.4 MB / 1.268 GB, free: 38.05 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.01323/1.49, allocations: 9.958 MB / 1.278 GB, free: 32.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/1.491, allocations: 0.9009 MB / 1.279 GB, free: 32.87 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/1.493, allocations: 0.5516 MB / 1.279 GB, free: 32.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00203/1.495, allocations: 3.072 MB / 1.282 GB, free: 29.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/1.495, allocations: 51.72 kB / 1.283 GB, free: 29.35 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=121): time 3.707e-06/1.495, allocations: 0.5625 kB / 1.283 GB, free: 29.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=121): time 0.007121/1.502, allocations: 2.247 MB / 1.285 GB, free: 29.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/1.502, allocations: 64.06 kB / 1.285 GB, free: 28.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003876/1.506, allocations: 2.121 MB / 1.287 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002242/1.506, allocations: 49.72 kB / 1.287 GB, free: 28.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009643/1.507, allocations: 1.173 MB / 1.288 GB, free: 28.37 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004839/1.507, allocations: 429.2 kB / 1.288 GB, free: 28.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004671/1.508, allocations: 296.8 kB / 1.289 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.698e-05/1.508, allocations: 302.2 kB / 1.289 GB, free: 27.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008596/1.509, allocations: 483.3 kB / 1.289 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.51, allocations: 0.8189 MB / 1.29 GB, free: 27.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/1.512, allocations: 1.357 MB / 1.292 GB, free: 27.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/1.512, allocations: 3.062 kB / 1.292 GB, free: 27.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005033/1.517, allocations: 1.895 MB / 1.293 GB, free: 26.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/1.517, allocations: 9.156 kB / 1.293 GB, free: 26.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/1.517, allocations: 13.95 kB / 1.293 GB, free: 26.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/1.519, allocations: 382.2 kB / 1.294 GB, free: 26.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009724/1.52, allocations: 297.7 kB / 1.294 GB, free: 26.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/1.521, allocations: 0.8643 MB / 1.295 GB, free: 26.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/1.524, allocations: 235.7 kB / 1.295 GB, free: 26.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/1.524, allocations: 75.52 kB / 1.295 GB, free: 26.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002271/1.526, allocations: 0.8743 MB / 1.296 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00142/1.528, allocations: 0.8167 MB / 1.297 GB, free: 25.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002408/1.53, allocations: 1.346 MB / 1.298 GB, free: 25.33 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.547e-05/1.53, allocations: 6.734 kB / 1.298 GB, free: 25.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.005679/1.536, allocations: 1.889 MB / 1.3 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.536, allocations: 10.16 kB / 1.3 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/1.536, allocations: 14.25 kB / 1.3 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/1.538, allocations: 381.9 kB / 1.3 GB, free: 25.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.539, allocations: 294.9 kB / 1.301 GB, free: 25.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/1.54, allocations: 0.8654 MB / 1.302 GB, free: 24.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/1.543, allocations: 200.3 kB / 1.302 GB, free: 24.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/1.543, allocations: 76.73 kB / 1.302 GB, free: 24.5 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.0005896/1.544, allocations: 267.6 kB / 1.302 GB, free: 24.31 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.545, allocations: 246 kB / 1.302 GB, free: 24.19 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005739/1.551, allocations: 2.386 MB / 1.305 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.398e-05/1.551, allocations: 30.36 kB / 1.305 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.551, allocations: 0 / 1.305 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003715/1.554, allocations: 1.793 MB / 1.306 GB, free: 23.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/1.567, allocations: 5.13 MB / 1.311 GB, free: 22.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/1.567, allocations: 13.36 kB / 1.311 GB, free: 22.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/1.568, allocations: 233.3 kB / 1.312 GB, free: 22.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/1.57, allocations: 310.2 kB / 1.312 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/1.57, allocations: 48.28 kB / 1.312 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009639/1.571, allocations: 0.8635 MB / 1.313 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/1.571, allocations: 18.56 kB / 1.313 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006036/1.577, allocations: 3.016 MB / 1.316 GB, free: 21.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.579, allocations: 0.5719 MB / 1.316 GB, free: 21.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.58, allocations: 35.5 kB / 1.316 GB, free: 21.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/1.582, allocations: 132.3 kB / 1.317 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/1.582, allocations: 137.4 kB / 1.317 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002147/1.583, allocations: 77.27 kB / 1.317 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003413/1.586, allocations: 1.552 MB / 1.318 GB, free: 20.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.586, allocations: 0 / 1.318 GB, free: 20.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00785/1.594, allocations: 1.505 MB / 1.32 GB, free: 20.78 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.009063/1.603, allocations: 3.679 MB / 1.323 GB, free: 20.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005605/1.609, allocations: 2.445 MB / 1.326 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.609, allocations: 0 / 1.326 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002053/1.611, allocations: 1.039 MB / 1.327 GB, free: 19.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008485/1.619, allocations: 1.394 MB / 1.328 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009438/1.629, allocations: 5.866 MB / 1.334 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/1.631, allocations: 1.678 MB / 1.335 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003653/1.634, allocations: 0.6668 MB / 1.336 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/1.635, allocations: 236.9 kB / 1.336 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of SimCode: time 1.763e-06/1.635, allocations: 0 / 1.336 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.1095/1.745, allocations: 64.06 MB / 1.399 GB, free: 10.19 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)