Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.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.TwoPipesConduit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, 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.002445/0.002445, allocations: 195.8 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 60.72 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3518, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit): time 0.137/0.4888, allocations: 117.9 MB / 1.183 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04806/0.5369, allocations: 28.17 MB / 1.21 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01127/0.5482, allocations: 111.3 kB / 1.21 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.007047/0.5554, allocations: 1.251 MB / 1.211 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01769/0.5732, allocations: 4.273 MB / 1.216 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01026/0.5834, allocations: 2.848 MB / 1.218 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01553/0.599, allocations: 11.15 MB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005484/0.6045, allocations: 2.264 MB / 1.232 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008713/0.6133, allocations: 2.897 MB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005495/0.6188, allocations: 2.368 MB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.6204, allocations: 148 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/0.6345, allocations: 3.248 MB / 1.24 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001789/0.6363, allocations: 0.6145 MB / 1.241 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00466/0.641, allocations: 1.57 MB / 1.242 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8151/1.456, allocations: 18.32 MB / 1.26 GB, free: 39.35 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.456, allocations: 0 / 1.26 GB, free: 39.35 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.435e-06/1.456, allocations: 0 / 1.26 GB, free: 39.35 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001434/1.456, allocations: 0 / 1.26 GB, free: 39.35 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: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.01095/1.467, allocations: 3.644 MB / 1.264 GB, free: 37.78 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.467, allocations: 8.969 kB / 1.264 GB, free: 37.78 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/1.469, allocations: 354.2 kB / 1.264 GB, free: 37.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004905/1.474, allocations: 2.597 MB / 1.266 GB, free: 37 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.801e-05/1.474, allocations: 136.1 kB / 1.267 GB, free: 37 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/1.474, allocations: 191 kB / 1.267 GB, free: 37 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/1.477, allocations: 1.928 MB / 1.269 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/1.477, allocations: 3.906 kB / 1.269 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/1.478, allocations: 71.22 kB / 1.269 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.625e-05/1.478, allocations: 49.39 kB / 1.269 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/1.48, allocations: 1.426 MB / 1.27 GB, free: 36.75 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.01457/1.495, allocations: 9.824 MB / 1.28 GB, free: 31.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/1.498, allocations: 1.022 MB / 1.281 GB, free: 31.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/1.499, allocations: 0.5729 MB / 1.281 GB, free: 31.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00221/1.501, allocations: 3.073 MB / 1.284 GB, free: 28.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/1.501, allocations: 46.62 kB / 1.284 GB, free: 28.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=127): time 4.298e-06/1.501, allocations: 1.875 kB / 1.284 GB, free: 28.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127): time 0.004519/1.506, allocations: 1.78 MB / 1.286 GB, free: 28.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.506, allocations: 64.19 kB / 1.286 GB, free: 27.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/1.51, allocations: 2.187 MB / 1.288 GB, free: 27.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000246/1.511, allocations: 57.56 kB / 1.288 GB, free: 27.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009852/1.512, allocations: 1.184 MB / 1.289 GB, free: 27.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005714/1.512, allocations: 459.6 kB / 1.29 GB, free: 27.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006486/1.513, allocations: 315.6 kB / 1.29 GB, free: 27.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.233e-05/1.513, allocations: 304 kB / 1.291 GB, free: 26.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/1.514, allocations: 0.5003 MB / 1.291 GB, free: 26.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/1.515, allocations: 0.8689 MB / 1.292 GB, free: 26.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/1.518, allocations: 1.395 MB / 1.293 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.075e-05/1.518, allocations: 2.156 kB / 1.293 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004609/1.523, allocations: 1.752 MB / 1.295 GB, free: 25.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/1.523, allocations: 10.11 kB / 1.295 GB, free: 25.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-05/1.523, allocations: 12.84 kB / 1.295 GB, free: 25.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/1.523, allocations: 64.94 kB / 1.295 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.525, allocations: 349.5 kB / 1.295 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/1.526, allocations: 1.444 MB / 1.297 GB, free: 24.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/1.529, allocations: 245.5 kB / 1.297 GB, free: 24.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/1.529, allocations: 79.39 kB / 1.297 GB, free: 24.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002783/1.532, allocations: 0.9079 MB / 1.298 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001507/1.534, allocations: 0.8698 MB / 1.299 GB, free: 23.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002668/1.536, allocations: 1.386 MB / 1.3 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.789e-05/1.536, allocations: 5.562 kB / 1.3 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.005914/1.542, allocations: 1.749 MB / 1.302 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/1.542, allocations: 11.88 kB / 1.302 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.598e-05/1.543, allocations: 15.34 kB / 1.302 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/1.543, allocations: 70.56 kB / 1.302 GB, free: 23.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/1.544, allocations: 341.2 kB / 1.302 GB, free: 23.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/1.546, allocations: 1.446 MB / 1.304 GB, free: 22.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003596/1.55, allocations: 205.8 kB / 1.304 GB, free: 21.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/1.55, allocations: 76.22 kB / 1.304 GB, free: 21.99 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 (192): * Single equations (assignments): 186 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006827/1.551, allocations: 278.6 kB / 1.304 GB, free: 21.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.552, allocations: 256.6 kB / 1.304 GB, free: 21.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005323/1.557, allocations: 2.198 MB / 1.307 GB, free: 21.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/1.557, allocations: 27.69 kB / 1.307 GB, free: 21.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.557, allocations: 1.344 kB / 1.307 GB, free: 21.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002749/1.56, allocations: 1.605 MB / 1.308 GB, free: 21.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/1.573, allocations: 4.996 MB / 1.313 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.29e-05/1.573, allocations: 10.44 kB / 1.313 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/1.574, allocations: 272.9 kB / 1.313 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/1.574, allocations: 54.14 kB / 1.313 GB, free: 20.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/1.574, allocations: 59.45 kB / 1.313 GB, free: 20.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/1.576, allocations: 1.428 MB / 1.315 GB, free: 18.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/1.576, allocations: 11.59 kB / 1.315 GB, free: 18.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/1.581, allocations: 2.847 MB / 1.318 GB, free: 18.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.583, allocations: 0.5833 MB / 1.318 GB, free: 17.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.584, allocations: 38.22 kB / 1.318 GB, free: 17.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/1.586, allocations: 138.5 kB / 1.318 GB, free: 17.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/1.587, allocations: 145.6 kB / 1.319 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/1.587, allocations: 77.45 kB / 1.319 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003681/1.591, allocations: 1.589 MB / 1.32 GB, free: 17.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.591, allocations: 0 / 1.32 GB, free: 17.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00903/1.6, allocations: 1.577 MB / 1.322 GB, free: 17.59 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 14 (pipSup.del.x,pipSup.timDel.x,pipSup.vol_b.dynBal.U,pipSup.vol_a.dynBal.U,senTemInlSup.T,senTemOutSup.T,pipRet.del.x,pipRet.timDel.x,pipRet.vol_b.dynBal.U,pipRet.vol_a.dynBal.U,senTemOutRet.T,senTemInlRet.T,conAir.T,con.T[1]) * 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 (161): * Single equations (assignments): 132 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009766/1.609, allocations: 3.69 MB / 1.325 GB, free: 17.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006444/1.616, allocations: 2.652 MB / 1.328 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.616, allocations: 1.75 kB / 1.328 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/1.618, allocations: 1.109 MB / 1.329 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01051/1.628, allocations: 1.401 MB / 1.33 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.639, allocations: 6.168 MB / 1.336 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.641, allocations: 1.719 MB / 1.338 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003348/1.644, allocations: 0.7115 MB / 1.339 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006149/1.645, allocations: 243 kB / 1.339 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of SimCode: time 1.112e-06/1.645, allocations: 0 / 1.339 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.106/1.751, allocations: 64.21 MB / 1.402 GB, free: 6.758 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1)