Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.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.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 112.9 kB / 16.42 MB, free: 6.449 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.001707/0.001707, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7138, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.12/0.8338, allocations: 118.5 MB / 1.204 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03832/0.8721, allocations: 27.89 MB / 1.232 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004737/0.8769, allocations: 124.2 kB / 1.232 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004717/0.8817, allocations: 1.566 MB / 1.233 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01355/0.8953, allocations: 4.818 MB / 1.238 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008497/0.9038, allocations: 3.164 MB / 1.241 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01166/0.9155, allocations: 8.502 MB / 1.249 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003958/0.9194, allocations: 2.66 MB / 1.252 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007296/0.9268, allocations: 3.418 MB / 1.255 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/0.9307, allocations: 2.334 MB / 1.258 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008073/0.9315, allocations: 296 kB / 1.258 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006569/0.9381, allocations: 2.831 MB / 1.261 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009543/0.9391, allocations: 0.7317 MB / 1.261 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.9418, allocations: 1.707 MB / 1.263 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008256/0.9501, allocations: 5.393 MB / 1.268 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9501, allocations: 0 / 1.268 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9501, allocations: 0 / 1.268 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.616e-05/0.9502, allocations: 4 kB / 1.268 GB, free: 5.832 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.006443/0.9566, allocations: 3.585 MB / 1.272 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.9567, allocations: 11.97 kB / 1.272 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008867/0.9576, allocations: 352 kB / 1.272 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004415/0.962, allocations: 2.657 MB / 1.275 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/0.9621, allocations: 127.4 kB / 1.275 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.9624, allocations: 172 kB / 1.275 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.9655, allocations: 1.891 MB / 1.277 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/0.9655, allocations: 15.84 kB / 1.277 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.9657, allocations: 72 kB / 1.277 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/0.9657, allocations: 47.98 kB / 1.277 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.9681, allocations: 1.371 MB / 1.278 GB, free: 11.33 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.01139/0.9796, allocations: 9.983 MB / 1.288 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.9811, allocations: 0.9139 MB / 1.289 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008058/0.9819, allocations: 0.5347 MB / 1.289 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002374/0.9843, allocations: 3.072 MB / 1.292 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.9844, allocations: 43.56 kB / 1.292 GB, free: 11.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=120): time 3.968e-06/0.9844, allocations: 0 / 1.292 GB, free: 11.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=120): time 0.005422/0.9898, allocations: 2.149 MB / 1.295 GB, free: 9.133 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.9899, allocations: 68.34 kB / 1.295 GB, free: 9.055 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.9931, allocations: 2.248 MB / 1.297 GB, free: 6.797 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.9932, allocations: 49.7 kB / 1.297 GB, free: 6.742 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009447/0.9942, allocations: 1.177 MB / 1.298 GB, free: 5.551 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/0.9946, allocations: 433.7 kB / 1.298 GB, free: 5.121 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/0.995, allocations: 279.4 kB / 1.299 GB, free: 4.844 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.9951, allocations: 361.9 kB / 1.299 GB, free: 4.484 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007678/0.9959, allocations: 452.6 kB / 1.299 GB, free: 4.039 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.997, allocations: 0.7792 MB / 1.3 GB, free: 3.129 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.9988, allocations: 1.285 MB / 1.301 GB, free: 1.719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.9989, allocations: 8 kB / 1.301 GB, free: 1.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003775/1.003, allocations: 1.792 MB / 1.303 GB, free: 15.9 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.003, allocations: 14.34 kB / 1.303 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/1.003, allocations: 20.02 kB / 1.303 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/1.004, allocations: 301.4 kB / 1.304 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009237/1.005, allocations: 287.5 kB / 1.304 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009667/1.006, allocations: 1.308 MB / 1.305 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.007, allocations: 150.5 kB / 1.305 GB, free: 13.78 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/1.008, allocations: 75.97 kB / 1.305 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001436/1.009, allocations: 0.8554 MB / 1.306 GB, free: 12.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001023/1.01, allocations: 0.7752 MB / 1.307 GB, free: 11.94 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001936/1.012, allocations: 1.281 MB / 1.308 GB, free: 10.53 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/1.012, allocations: 4 kB / 1.308 GB, free: 10.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.003801/1.016, allocations: 1.796 MB / 1.31 GB, free: 8.715 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.016, allocations: 8 kB / 1.31 GB, free: 8.707 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/1.016, allocations: 15.98 kB / 1.31 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/1.017, allocations: 313.8 kB / 1.31 GB, free: 8.379 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009102/1.018, allocations: 275.6 kB / 1.311 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009344/1.019, allocations: 1.304 MB / 1.312 GB, free: 6.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.021, allocations: 119.2 kB / 1.312 GB, free: 6.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.021, allocations: 75.97 kB / 1.312 GB, free: 6.562 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 (165): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003572/1.021, allocations: 264.6 kB / 1.312 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/1.021, allocations: 260.8 kB / 1.312 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/1.026, allocations: 2.328 MB / 1.315 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00311/1.029, allocations: 1.744 MB / 1.316 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/1.029, allocations: 7.984 kB / 1.316 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/1.03, allocations: 0.548 MB / 1.317 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/1.03, allocations: 32 kB / 1.317 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.032, allocations: 59.7 kB / 1.317 GB, free: 1.262 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/1.032, allocations: 129.1 kB / 1.317 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003763/1.036, allocations: 1.886 MB / 1.319 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003942/1.039, allocations: 2.739 MB / 1.322 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001018/1.04, allocations: 0.7371 MB / 1.322 GB, free: 11.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002253/1.043, allocations: 1.53 MB / 1.324 GB, free: 10.21 MB / 1.061 GB Notification: Performance of Backend: time 3.1e-07/1.043, allocations: 8 kB / 1.324 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005594/1.048, allocations: 2.773 MB / 1.327 GB, free: 7.391 MB / 1.061 GB Notification: Performance of SimCode: time 0.009512/1.058, allocations: 6.081 MB / 1.333 GB, free: 1.254 MB / 1.061 GB Notification: Performance of Templates: time 0.09539/1.153, allocations: 61.42 MB / 1.393 GB, free: 4.527 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)