Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Geothermal.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_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes") translateModel(Buildings.Fluid.Geothermal.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_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001584, allocations: 114.3 kB / 16.42 MB, free: 6.441 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.001721/0.001721, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6866, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.1221/0.8088, allocations: 118.1 MB / 1.204 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03892/0.8477, allocations: 27.8 MB / 1.231 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004846/0.8526, allocations: 123.2 kB / 1.231 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00469/0.8574, allocations: 1.554 MB / 1.233 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01446/0.8718, allocations: 4.757 MB / 1.237 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008402/0.8803, allocations: 3.14 MB / 1.24 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.8919, allocations: 8.375 MB / 1.249 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004348/0.8963, allocations: 2.641 MB / 1.251 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007653/0.904, allocations: 3.382 MB / 1.255 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003975/0.908, allocations: 2.279 MB / 1.257 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000891/0.9089, allocations: 284 kB / 1.257 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007142/0.916, allocations: 2.827 MB / 1.26 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.9171, allocations: 0.72 MB / 1.261 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002981/0.9201, allocations: 1.668 MB / 1.262 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008991/0.9291, allocations: 5.322 MB / 1.267 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.9292, allocations: 0 / 1.267 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9292, allocations: 0 / 1.267 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.444e-05/0.9292, allocations: 4 kB / 1.267 GB, free: 6.738 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.006668/0.9359, allocations: 3.526 MB / 1.271 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.936, allocations: 8.031 kB / 1.271 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.937, allocations: 340.1 kB / 1.271 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.9417, allocations: 2.602 MB / 1.274 GB, free: 128 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.264e-05/0.9418, allocations: 127.4 kB / 1.274 GB, free: 0 / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.942, allocations: 172 kB / 1.274 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/0.9454, allocations: 1.907 MB / 1.276 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.9454, allocations: 0 / 1.276 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.9456, allocations: 75.98 kB / 1.276 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/0.9457, allocations: 48 kB / 1.276 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.9482, allocations: 1.395 MB / 1.277 GB, free: 12.34 MB / 1.014 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.01212/0.9603, allocations: 9.981 MB / 1.287 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.9619, allocations: 0.9032 MB / 1.288 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.9627, allocations: 0.5504 MB / 1.288 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/0.965, allocations: 3.068 MB / 1.291 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.9651, allocations: 55.56 kB / 1.292 GB, free: 12.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=121): time 3.437e-06/0.9651, allocations: 0 / 1.292 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=121): time 0.006392/0.9715, allocations: 2.24 MB / 1.294 GB, free: 10.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.9715, allocations: 68.34 kB / 1.294 GB, free: 9.977 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/0.9748, allocations: 2.149 MB / 1.296 GB, free: 7.812 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.9749, allocations: 53.69 kB / 1.296 GB, free: 7.754 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009315/0.9759, allocations: 1.165 MB / 1.297 GB, free: 6.574 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004163/0.9763, allocations: 433.7 kB / 1.297 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004247/0.9767, allocations: 287.3 kB / 1.298 GB, free: 5.859 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.9768, allocations: 305.1 kB / 1.298 GB, free: 5.559 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008424/0.9777, allocations: 464.6 kB / 1.298 GB, free: 5.102 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.9788, allocations: 0.7947 MB / 1.299 GB, free: 4.176 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.9808, allocations: 1.316 MB / 1.301 GB, free: 2.734 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.9809, allocations: 0 / 1.301 GB, free: 2.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004461/0.9853, allocations: 1.869 MB / 1.302 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.9854, allocations: 8 kB / 1.302 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.9854, allocations: 19.92 kB / 1.302 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.9874, allocations: 381 kB / 1.303 GB, free: 460 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/0.9884, allocations: 291.5 kB / 1.303 GB, free: 168 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.9895, allocations: 0.864 MB / 1.304 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.991, allocations: 174.3 kB / 1.304 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.9912, allocations: 79.97 kB / 1.304 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00153/0.9927, allocations: 0.8514 MB / 1.305 GB, free: 14.17 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0011/0.9938, allocations: 0.7948 MB / 1.306 GB, free: 13.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002021/0.9959, allocations: 1.312 MB / 1.307 GB, free: 11.81 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/0.9959, allocations: 0 / 1.307 GB, free: 11.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004375/1, allocations: 1.85 MB / 1.309 GB, free: 9.945 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1, allocations: 15.98 kB / 1.309 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/1, allocations: 12 kB / 1.309 GB, free: 9.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/1.002, allocations: 384.5 kB / 1.309 GB, free: 9.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009794/1.003, allocations: 295.5 kB / 1.309 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/1.004, allocations: 0.8685 MB / 1.31 GB, free: 8.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/1.006, allocations: 118.9 kB / 1.31 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.006, allocations: 80.03 kB / 1.311 GB, free: 8.16 MB / 1.045 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.0003811/1.006, allocations: 271.8 kB / 1.311 GB, free: 7.887 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006834/1.007, allocations: 245 kB / 1.311 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005221/1.012, allocations: 2.371 MB / 1.313 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00347/1.016, allocations: 1.802 MB / 1.315 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-05/1.016, allocations: 7.938 kB / 1.315 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.017, allocations: 0.5403 MB / 1.316 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/1.018, allocations: 31.91 kB / 1.316 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/1.019, allocations: 59.89 kB / 1.316 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/1.019, allocations: 125.1 kB / 1.316 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004111/1.023, allocations: 1.945 MB / 1.318 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0042/1.028, allocations: 2.766 MB / 1.32 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001056/1.029, allocations: 0.7527 MB / 1.321 GB, free: 13.15 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002467/1.031, allocations: 1.464 MB / 1.323 GB, free: 11.68 MB / 1.061 GB Notification: Performance of Backend: time 6.41e-07/1.031, allocations: 0 / 1.323 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006589/1.038, allocations: 2.882 MB / 1.325 GB, free: 8.762 MB / 1.061 GB Notification: Performance of SimCode: time 0.01025/1.048, allocations: 5.998 MB / 1.331 GB, free: 2.715 MB / 1.061 GB Notification: Performance of Templates: time 0.09333/1.141, allocations: 60.71 MB / 1.391 GB, free: 6.668 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)