Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.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.PipeGroundCoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001267, 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.001272/0.001272, allocations: 193.4 kB / 16.14 MB, free: 6.688 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 70.98 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4273, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling): time 0.1212/0.5486, allocations: 115.6 MB / 1.18 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04473/0.5934, allocations: 27.54 MB / 1.207 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006884/0.6003, allocations: 107.4 kB / 1.207 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005748/0.6061, allocations: 1.231 MB / 1.209 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01569/0.6219, allocations: 4.133 MB / 1.213 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.6319, allocations: 2.777 MB / 1.215 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01747/0.6494, allocations: 11.18 MB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006641/0.6561, allocations: 2.314 MB / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.6665, allocations: 2.831 MB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006333/0.6729, allocations: 2.435 MB / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001763/0.6747, allocations: 159.9 kB / 1.234 GB, free: 44 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/0.6875, allocations: 3.151 MB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.6896, allocations: 0.6846 MB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00536/0.695, allocations: 1.628 MB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8104/1.505, allocations: 18.6 MB / 1.257 GB, free: 42.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.505, allocations: 0.8125 kB / 1.257 GB, free: 42.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/1.505, allocations: 0 / 1.257 GB, free: 42.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001532/1.506, allocations: 0 / 1.257 GB, free: 42.48 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.0123/1.518, allocations: 3.963 MB / 1.261 GB, free: 40.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.518, allocations: 8 kB / 1.261 GB, free: 40.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/1.519, allocations: 352.5 kB / 1.261 GB, free: 40.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006735/1.526, allocations: 2.929 MB / 1.264 GB, free: 40.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/1.526, allocations: 143.5 kB / 1.264 GB, free: 40.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/1.526, allocations: 201.1 kB / 1.265 GB, free: 40.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/1.53, allocations: 2.025 MB / 1.267 GB, free: 39.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.192e-05/1.53, allocations: 6.875 kB / 1.267 GB, free: 39.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/1.531, allocations: 75.2 kB / 1.267 GB, free: 39.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/1.531, allocations: 51.84 kB / 1.267 GB, free: 39.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/1.533, allocations: 1.465 MB / 1.268 GB, free: 39.79 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.01642/1.55, allocations: 11.63 MB / 1.28 GB, free: 33.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/1.552, allocations: 1.164 MB / 1.281 GB, free: 33.74 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/1.554, allocations: 0.5733 MB / 1.281 GB, free: 33.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002126/1.556, allocations: 2.974 MB / 1.284 GB, free: 30.35 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/1.556, allocations: 55.53 kB / 1.284 GB, free: 30.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 3.717e-06/1.556, allocations: 0 / 1.284 GB, free: 30.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.005664/1.561, allocations: 2.132 MB / 1.286 GB, free: 29.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/1.561, allocations: 68.25 kB / 1.286 GB, free: 29.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/1.565, allocations: 2.171 MB / 1.288 GB, free: 29.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002406/1.565, allocations: 54.7 kB / 1.289 GB, free: 29.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008456/1.566, allocations: 1.223 MB / 1.29 GB, free: 29.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005192/1.566, allocations: 426.9 kB / 1.29 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005619/1.567, allocations: 359.3 kB / 1.29 GB, free: 28.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.271e-05/1.567, allocations: 301.1 kB / 1.291 GB, free: 28.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/1.568, allocations: 0.7583 MB / 1.292 GB, free: 28.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/1.57, allocations: 1.222 MB / 1.293 GB, free: 28.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/1.572, allocations: 1.789 MB / 1.294 GB, free: 27.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/1.572, allocations: 3.531 kB / 1.294 GB, free: 27.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005503/1.578, allocations: 2.496 MB / 1.297 GB, free: 27.33 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.578, allocations: 10.88 kB / 1.297 GB, free: 27.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-05/1.578, allocations: 16.59 kB / 1.297 GB, free: 27.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/1.579, allocations: 251.3 kB / 1.297 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/1.58, allocations: 397 kB / 1.298 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00081/1.581, allocations: 1.252 MB / 1.299 GB, free: 26.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/1.585, allocations: 397.3 kB / 1.299 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/1.585, allocations: 85.19 kB / 1.299 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002357/1.587, allocations: 1.206 MB / 1.3 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001607/1.589, allocations: 1.221 MB / 1.302 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002589/1.592, allocations: 1.791 MB / 1.303 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.935e-05/1.592, allocations: 4.125 kB / 1.303 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.00531/1.597, allocations: 2.481 MB / 1.306 GB, free: 24.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.597, allocations: 10.12 kB / 1.306 GB, free: 24.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.732e-05/1.597, allocations: 16.97 kB / 1.306 GB, free: 24.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/1.598, allocations: 244.4 kB / 1.306 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/1.6, allocations: 406.2 kB / 1.306 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007559/1.6, allocations: 1.24 MB / 1.308 GB, free: 23.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/1.604, allocations: 371.5 kB / 1.308 GB, free: 23.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/1.604, allocations: 89.56 kB / 1.308 GB, free: 23.69 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (202): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000654/1.605, allocations: 288.3 kB / 1.308 GB, free: 23.49 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/1.606, allocations: 250 kB / 1.309 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/1.612, allocations: 2.321 MB / 1.311 GB, free: 23.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-05/1.612, allocations: 30.5 kB / 1.311 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/1.612, allocations: 0 / 1.311 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00303/1.615, allocations: 1.74 MB / 1.313 GB, free: 22.85 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/1.626, allocations: 5.185 MB / 1.318 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.334e-05/1.626, allocations: 18.69 kB / 1.318 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009913/1.627, allocations: 275.8 kB / 1.318 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006843/1.627, allocations: 180.5 kB / 1.318 GB, free: 21.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/1.628, allocations: 69.31 kB / 1.318 GB, free: 21.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006785/1.628, allocations: 1.228 MB / 1.319 GB, free: 20.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/1.628, allocations: 18.91 kB / 1.319 GB, free: 20.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005456/1.634, allocations: 3.245 MB / 1.323 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/1.636, allocations: 0.5824 MB / 1.323 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008894/1.637, allocations: 49.95 kB / 1.323 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002735/1.639, allocations: 208.4 kB / 1.323 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/1.64, allocations: 155.9 kB / 1.324 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/1.64, allocations: 84.47 kB / 1.324 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003197/1.643, allocations: 1.449 MB / 1.325 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.643, allocations: 0 / 1.325 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008843/1.652, allocations: 1.739 MB / 1.327 GB, free: 19.29 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 13 (pipeGroundCoupling.groActLay[1].T[1],pipeGroundCoupling.groActLay[1].T[2],pipeGroundCoupling.groActLay[1].T[3],pipeGroundCoupling.groActLay[1].T[4],pipeGroundCoupling.groActLay[1].T[5],pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoGro.del.x,pipNoGro.timDel.x,pipNoGro.vol_b.dynBal.U,pipNoGro.vol_a.dynBal.U) * 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 (164): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009019/1.661, allocations: 3.666 MB / 1.33 GB, free: 18.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00709/1.668, allocations: 3.081 MB / 1.333 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.668, allocations: 5.125 kB / 1.333 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.671, allocations: 1.12 MB / 1.334 GB, free: 18.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009922/1.68, allocations: 1.307 MB / 1.336 GB, free: 18.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.691, allocations: 6.463 MB / 1.342 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002027/1.693, allocations: 1.757 MB / 1.344 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005/1.698, allocations: 0.8742 MB / 1.345 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/1.7, allocations: 238.6 kB / 1.345 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of SimCode: time 2.735e-06/1.7, allocations: 0 / 1.345 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.1149/1.815, allocations: 63.98 MB / 1.407 GB, free: 3.949 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe 2>&1)