Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_latest_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.002042/0.002042, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.118/3.118, allocations: 472.6 MB / 0.7453 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3875, allocations: 159.9 MB / 1.226 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.9246/1.312, allocations: 118.1 MB / 1.341 GB, free: 3.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05498/1.367, allocations: 27.8 MB / 1.368 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009464/1.377, allocations: 127.8 kB / 1.368 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006816/1.384, allocations: 1.505 MB / 1.37 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02026/1.404, allocations: 4.55 MB / 1.374 GB, free: 10.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01305/1.417, allocations: 3.122 MB / 1.377 GB, free: 8.414 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01893/1.436, allocations: 8.344 MB / 1.385 GB, free: 3.492 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007055/1.443, allocations: 2.645 MB / 1.388 GB, free: 1.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/1.455, allocations: 3.297 MB / 1.391 GB, free: 15.78 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007149/1.463, allocations: 2.285 MB / 1.393 GB, free: 14.38 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001922/1.465, allocations: 284.2 kB / 1.394 GB, free: 14.38 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/1.476, allocations: 2.825 MB / 1.396 GB, free: 12.84 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002336/1.478, allocations: 0.7152 MB / 1.397 GB, free: 12.26 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007074/1.485, allocations: 1.665 MB / 1.399 GB, free: 11.16 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01876/1.504, allocations: 5.344 MB / 1.404 GB, free: 7.617 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/1.504, allocations: 0 / 1.404 GB, free: 7.617 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.415e-06/1.504, allocations: 4 kB / 1.404 GB, free: 7.613 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002852/1.504, allocations: 0 / 1.404 GB, free: 7.613 MB / 1.092 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.01308/1.517, allocations: 3.643 MB / 1.408 GB, free: 4.934 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.517, allocations: 7.688 kB / 1.408 GB, free: 4.934 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/1.52, allocations: 358.5 kB / 1.408 GB, free: 4.754 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007283/1.527, allocations: 2.612 MB / 1.41 GB, free: 2.258 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/1.527, allocations: 131.4 kB / 1.411 GB, free: 2.129 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006424/1.528, allocations: 179.9 kB / 1.411 GB, free: 1.953 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004626/1.532, allocations: 1.903 MB / 1.413 GB, free: 15.98 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.295e-05/1.532, allocations: 11.92 kB / 1.413 GB, free: 15.97 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/1.533, allocations: 71.98 kB / 1.413 GB, free: 15.9 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.259e-05/1.533, allocations: 48 kB / 1.413 GB, free: 15.85 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/1.535, allocations: 1.399 MB / 1.414 GB, free: 14.45 MB / 1.107 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.01985/1.555, allocations: 9.991 MB / 1.424 GB, free: 3.707 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/1.557, allocations: 0.9221 MB / 1.425 GB, free: 2.781 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009519/1.558, allocations: 0.5409 MB / 1.425 GB, free: 2.242 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002768/1.561, allocations: 3.072 MB / 1.428 GB, free: 14.49 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.537e-05/1.561, allocations: 47.56 kB / 1.428 GB, free: 14.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=121): time 5.27e-06/1.561, allocations: 0 / 1.428 GB, free: 14.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=121): time 0.00761/1.569, allocations: 2.261 MB / 1.431 GB, free: 12.14 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/1.569, allocations: 68.39 kB / 1.431 GB, free: 12.06 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005739/1.575, allocations: 2.145 MB / 1.433 GB, free: 9.902 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004343/1.575, allocations: 53.7 kB / 1.433 GB, free: 9.844 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00177/1.577, allocations: 1.187 MB / 1.434 GB, free: 8.645 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/1.578, allocations: 456.1 kB / 1.434 GB, free: 8.195 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009203/1.579, allocations: 287.4 kB / 1.435 GB, free: 7.906 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.579, allocations: 301.1 kB / 1.435 GB, free: 7.609 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.581, allocations: 468.6 kB / 1.435 GB, free: 7.148 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/1.582, allocations: 0.7986 MB / 1.436 GB, free: 6.219 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/1.586, allocations: 1.324 MB / 1.437 GB, free: 4.77 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-05/1.586, allocations: 4 kB / 1.437 GB, free: 4.766 MB / 1.123 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007388/1.593, allocations: 1.866 MB / 1.439 GB, free: 2.887 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/1.593, allocations: 12 kB / 1.439 GB, free: 2.875 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-05/1.593, allocations: 15.98 kB / 1.439 GB, free: 2.859 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/1.596, allocations: 385 kB / 1.44 GB, free: 2.48 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/1.597, allocations: 295.5 kB / 1.44 GB, free: 2.191 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/1.599, allocations: 0.8568 MB / 1.441 GB, free: 1.309 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/1.602, allocations: 166.9 kB / 1.441 GB, free: 1.145 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005514/1.603, allocations: 79.91 kB / 1.441 GB, free: 1.066 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003098/1.606, allocations: 0.8631 MB / 1.442 GB, free: 204 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001796/1.608, allocations: 0.7871 MB / 1.443 GB, free: 15.28 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002929/1.611, allocations: 1.316 MB / 1.444 GB, free: 13.84 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.88e-05/1.611, allocations: 4 kB / 1.444 GB, free: 13.83 MB / 1.139 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.005847/1.616, allocations: 1.859 MB / 1.446 GB, free: 11.96 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.617, allocations: 8 kB / 1.446 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.11e-05/1.617, allocations: 15.98 kB / 1.446 GB, free: 11.94 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/1.618, allocations: 388.8 kB / 1.446 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.619, allocations: 295.5 kB / 1.446 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/1.621, allocations: 0.8618 MB / 1.447 GB, free: 10.38 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/1.623, allocations: 131.3 kB / 1.447 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000301/1.623, allocations: 71.97 kB / 1.447 GB, free: 10.18 MB / 1.139 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 (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005654/1.624, allocations: 274.9 kB / 1.448 GB, free: 9.906 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/1.625, allocations: 258.4 kB / 1.448 GB, free: 9.652 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006169/1.632, allocations: 2.373 MB / 1.45 GB, free: 7.316 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.406e-05/1.632, allocations: 27.98 kB / 1.45 GB, free: 7.289 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.632, allocations: 0 / 1.45 GB, free: 7.289 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003644/1.635, allocations: 1.802 MB / 1.452 GB, free: 5.434 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/1.648, allocations: 5.156 MB / 1.457 GB, free: 64 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.965e-05/1.648, allocations: 12 kB / 1.457 GB, free: 52 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009405/1.649, allocations: 223.7 kB / 1.457 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/1.65, allocations: 312.8 kB / 1.458 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/1.651, allocations: 59.84 kB / 1.458 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/1.652, allocations: 0.8629 MB / 1.458 GB, free: 14.58 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.435e-05/1.652, allocations: 8 kB / 1.458 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006935/1.659, allocations: 3.02 MB / 1.461 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/1.661, allocations: 0.5844 MB / 1.462 GB, free: 10.84 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/1.662, allocations: 39.94 kB / 1.462 GB, free: 10.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/1.664, allocations: 63.95 kB / 1.462 GB, free: 10.74 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003044/1.665, allocations: 133.1 kB / 1.462 GB, free: 10.61 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002891/1.665, allocations: 79.89 kB / 1.462 GB, free: 10.54 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004099/1.669, allocations: 1.582 MB / 1.464 GB, free: 8.949 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.669, allocations: 0 / 1.464 GB, free: 8.949 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00752/1.677, allocations: 1.481 MB / 1.465 GB, free: 7.465 MB / 1.154 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.003478/1.68, allocations: 0.9859 MB / 1.466 GB, free: 6.492 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007794/1.688, allocations: 2.422 MB / 1.469 GB, free: 4.023 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/1.688, allocations: 0 / 1.469 GB, free: 4.023 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/1.691, allocations: 1.039 MB / 1.47 GB, free: 2.961 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/1.702, allocations: 1.473 MB / 1.471 GB, free: 1.516 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.712, allocations: 4.961 MB / 1.476 GB, free: 12.44 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/1.714, allocations: 1.677 MB / 1.478 GB, free: 10.73 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.003424/1.718, allocations: 0.6793 MB / 1.478 GB, free: 10.09 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009078/1.718, allocations: 243.3 kB / 1.478 GB, free: 9.852 MB / 1.17 GB Notification: Performance of SimCode: time 4.569e-06/1.719, allocations: 0 / 1.478 GB, free: 9.852 MB / 1.17 GB Notification: Performance of Templates: time 0.1071/1.826, allocations: 61.03 MB / 1.538 GB, free: 13.51 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)