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.001643/0.001643, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00231/0.00231, allocations: 194.1 kB / 16.25 MB, free: 6.621 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.546/1.546, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.36 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3663, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.1584/0.5247, allocations: 117.1 MB / 1.182 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04619/0.5709, allocations: 27.62 MB / 1.209 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006797/0.5778, allocations: 119.2 kB / 1.209 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005643/0.5835, allocations: 1.298 MB / 1.21 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01621/0.5998, allocations: 4.231 MB / 1.215 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.6101, allocations: 2.856 MB / 1.217 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01545/0.6256, allocations: 8.378 MB / 1.226 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005196/0.6308, allocations: 2.621 MB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/0.6416, allocations: 3.317 MB / 1.231 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005582/0.6472, allocations: 2.361 MB / 1.234 GB, free: 344 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.6485, allocations: 284 kB / 1.234 GB, free: 60 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/0.6606, allocations: 3.417 MB / 1.237 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.6623, allocations: 0.724 MB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003194/0.6655, allocations: 1.664 MB / 1.24 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7824/1.448, allocations: 18.31 MB / 1.257 GB, free: 37.13 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.448, allocations: 2.078 kB / 1.257 GB, free: 37.13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.835e-06/1.448, allocations: 0.9062 kB / 1.257 GB, free: 37.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001551/1.448, allocations: 0 / 1.257 GB, free: 37.13 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.01091/1.459, allocations: 3.543 MB / 1.261 GB, free: 35.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.459, allocations: 10.91 kB / 1.261 GB, free: 35.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/1.46, allocations: 339.2 kB / 1.261 GB, free: 35.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/1.466, allocations: 2.548 MB / 1.264 GB, free: 34.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.043e-05/1.466, allocations: 132.9 kB / 1.264 GB, free: 34.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/1.466, allocations: 178.2 kB / 1.264 GB, free: 34.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004608/1.471, allocations: 1.9 MB / 1.266 GB, free: 34.58 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.828e-05/1.471, allocations: 2.094 kB / 1.266 GB, free: 34.58 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/1.471, allocations: 77.17 kB / 1.266 GB, free: 34.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.741e-05/1.471, allocations: 49.09 kB / 1.266 GB, free: 34.58 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/1.474, allocations: 1.396 MB / 1.267 GB, free: 34.56 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.01622/1.491, allocations: 9.955 MB / 1.277 GB, free: 29.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/1.492, allocations: 0.9031 MB / 1.278 GB, free: 29.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009627/1.493, allocations: 0.5484 MB / 1.279 GB, free: 29.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002035/1.495, allocations: 3.07 MB / 1.281 GB, free: 25.89 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/1.495, allocations: 50.12 kB / 1.282 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=121): time 3.246e-06/1.495, allocations: 4.5 kB / 1.282 GB, free: 25.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=121): time 0.007311/1.503, allocations: 2.245 MB / 1.284 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/1.503, allocations: 63.19 kB / 1.284 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/1.507, allocations: 2.121 MB / 1.286 GB, free: 25.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003607/1.507, allocations: 50.48 kB / 1.286 GB, free: 25.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009268/1.508, allocations: 1.17 MB / 1.287 GB, free: 24.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/1.509, allocations: 428.9 kB / 1.287 GB, free: 24.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004617/1.509, allocations: 298.9 kB / 1.288 GB, free: 24.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.713e-05/1.509, allocations: 305.8 kB / 1.288 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008822/1.51, allocations: 482.2 kB / 1.289 GB, free: 24.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/1.511, allocations: 0.8249 MB / 1.289 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/1.513, allocations: 1.351 MB / 1.291 GB, free: 23.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/1.513, allocations: 3.125 kB / 1.291 GB, free: 23.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005088/1.519, allocations: 1.895 MB / 1.292 GB, free: 23.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.519, allocations: 10.41 kB / 1.292 GB, free: 23.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.393e-05/1.519, allocations: 17.2 kB / 1.293 GB, free: 23.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/1.52, allocations: 382.3 kB / 1.293 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.522, allocations: 293.2 kB / 1.293 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/1.523, allocations: 0.8742 MB / 1.294 GB, free: 22.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/1.525, allocations: 230.7 kB / 1.294 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/1.525, allocations: 76.05 kB / 1.294 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001857/1.527, allocations: 0.8725 MB / 1.295 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001151/1.528, allocations: 0.8232 MB / 1.296 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002118/1.53, allocations: 1.34 MB / 1.297 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.558e-05/1.53, allocations: 2.75 kB / 1.297 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.005043/1.535, allocations: 1.897 MB / 1.299 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.535, allocations: 7.406 kB / 1.299 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/1.535, allocations: 14.38 kB / 1.299 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/1.537, allocations: 382 kB / 1.3 GB, free: 21.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009984/1.538, allocations: 290.4 kB / 1.3 GB, free: 21.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/1.539, allocations: 0.8651 MB / 1.301 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/1.542, allocations: 195.6 kB / 1.301 GB, free: 21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/1.542, allocations: 76.16 kB / 1.301 GB, free: 21 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.0005496/1.543, allocations: 264.3 kB / 1.301 GB, free: 20.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.544, allocations: 247.4 kB / 1.301 GB, free: 20.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/1.55, allocations: 2.393 MB / 1.304 GB, free: 20.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.604e-05/1.55, allocations: 26.64 kB / 1.304 GB, free: 20.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.55, allocations: 4 kB / 1.304 GB, free: 20.49 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003517/1.553, allocations: 1.796 MB / 1.305 GB, free: 20.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/1.566, allocations: 5.131 MB / 1.311 GB, free: 19.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.413e-05/1.566, allocations: 10.06 kB / 1.311 GB, free: 19.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/1.567, allocations: 229.4 kB / 1.311 GB, free: 19.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/1.569, allocations: 311.7 kB / 1.311 GB, free: 19.06 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/1.569, allocations: 48.8 kB / 1.311 GB, free: 19.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/1.57, allocations: 0.8622 MB / 1.312 GB, free: 18.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/1.57, allocations: 13.88 kB / 1.312 GB, free: 18.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006498/1.577, allocations: 3.008 MB / 1.315 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/1.579, allocations: 0.5699 MB / 1.315 GB, free: 17.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/1.58, allocations: 36.3 kB / 1.315 GB, free: 17.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.582, allocations: 141.9 kB / 1.316 GB, free: 17.63 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/1.583, allocations: 132.8 kB / 1.316 GB, free: 17.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.583, allocations: 75.84 kB / 1.316 GB, free: 17.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003431/1.586, allocations: 1.554 MB / 1.317 GB, free: 17.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.092e-06/1.586, allocations: 0 / 1.317 GB, free: 17.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006836/1.593, allocations: 1.507 MB / 1.319 GB, free: 17.27 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.008045/1.601, allocations: 3.673 MB / 1.322 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006754/1.608, allocations: 2.631 MB / 1.325 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.608, allocations: 2.469 kB / 1.325 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/1.61, allocations: 1.038 MB / 1.326 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008477/1.619, allocations: 1.478 MB / 1.327 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/1.627, allocations: 5.86 MB / 1.333 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/1.629, allocations: 1.686 MB / 1.335 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003189/1.632, allocations: 0.6716 MB / 1.335 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007321/1.633, allocations: 238.8 kB / 1.336 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.633, allocations: 0 / 1.336 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of Templates: time 0.1033/1.736, allocations: 66.23 MB / 1.4 GB, free: 7.426 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)