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.007155/0.007155, allocations: 102.2 kB / 15.73 MB, free: 6.469 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.001809/0.001809, allocations: 194 kB / 16.67 MB, free: 6.379 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.331/2.331, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.44 kB / 0.9508 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2556, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.108/0.3636, allocations: 118.1 MB / 1.203 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03705/0.4007, allocations: 27.8 MB / 1.23 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005381/0.4061, allocations: 127.2 kB / 1.231 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00446/0.4106, allocations: 1.51 MB / 1.232 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.4224, allocations: 4.543 MB / 1.236 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008008/0.4305, allocations: 3.126 MB / 1.24 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01262/0.4431, allocations: 8.347 MB / 1.248 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004225/0.4474, allocations: 2.64 MB / 1.25 GB, free: 10.65 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007622/0.455, allocations: 3.365 MB / 1.254 GB, free: 7.285 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/0.4588, allocations: 2.291 MB / 1.256 GB, free: 4.984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005735/0.4594, allocations: 284 kB / 1.256 GB, free: 4.707 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006105/0.4655, allocations: 2.827 MB / 1.259 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008407/0.4663, allocations: 0.724 MB / 1.26 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.6489/1.115, allocations: 1.655 MB / 1.261 GB, free: 25.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01429/1.13, allocations: 5.314 MB / 1.266 GB, free: 25.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.13, allocations: 0.9375 kB / 1.266 GB, free: 25.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.585e-06/1.13, allocations: 0 / 1.266 GB, free: 25.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000166/1.13, allocations: 0 / 1.266 GB, free: 25.21 MB / 1.014 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.01143/1.141, allocations: 3.541 MB / 1.27 GB, free: 23.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.141, allocations: 10.19 kB / 1.27 GB, free: 23.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/1.143, allocations: 339.1 kB / 1.27 GB, free: 23.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007466/1.15, allocations: 2.59 MB / 1.273 GB, free: 22.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/1.151, allocations: 130.3 kB / 1.273 GB, free: 22.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005874/1.151, allocations: 180.6 kB / 1.273 GB, free: 22.9 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005072/1.156, allocations: 1.9 MB / 1.275 GB, free: 22.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.96e-05/1.156, allocations: 5.688 kB / 1.275 GB, free: 22.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/1.157, allocations: 69.88 kB / 1.275 GB, free: 22.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.174e-05/1.157, allocations: 54.69 kB / 1.275 GB, free: 22.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/1.16, allocations: 1.397 MB / 1.276 GB, free: 22.66 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.0149/1.175, allocations: 9.971 MB / 1.286 GB, free: 17.49 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/1.177, allocations: 0.9089 MB / 1.287 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008993/1.177, allocations: 0.5457 MB / 1.287 GB, free: 17.45 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002005/1.179, allocations: 3.074 MB / 1.29 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.18, allocations: 55.31 kB / 1.29 GB, free: 13.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=121): time 3.457e-06/1.18, allocations: 1.469 kB / 1.291 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=121): time 0.007318/1.187, allocations: 2.24 MB / 1.293 GB, free: 13.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/1.187, allocations: 64.73 kB / 1.293 GB, free: 13.58 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003889/1.191, allocations: 2.153 MB / 1.295 GB, free: 13.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003174/1.191, allocations: 50.36 kB / 1.295 GB, free: 13.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009068/1.192, allocations: 1.165 MB / 1.296 GB, free: 12.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004863/1.193, allocations: 436.6 kB / 1.296 GB, free: 12.69 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004661/1.193, allocations: 284.5 kB / 1.297 GB, free: 12.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/1.193, allocations: 306.8 kB / 1.297 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008339/1.194, allocations: 469.2 kB / 1.297 GB, free: 12.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/1.195, allocations: 0.7973 MB / 1.298 GB, free: 11.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/1.197, allocations: 1.312 MB / 1.3 GB, free: 11.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/1.197, allocations: 2.5 kB / 1.3 GB, free: 11.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004968/1.202, allocations: 1.864 MB / 1.301 GB, free: 11.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/1.202, allocations: 8.844 kB / 1.301 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.642e-05/1.202, allocations: 13.34 kB / 1.301 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/1.204, allocations: 382.5 kB / 1.302 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.205, allocations: 291 kB / 1.302 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/1.206, allocations: 0.8773 MB / 1.303 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/1.209, allocations: 159 kB / 1.303 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/1.209, allocations: 75.08 kB / 1.303 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002152/1.212, allocations: 0.8557 MB / 1.304 GB, free: 10.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001265/1.213, allocations: 0.7956 MB / 1.305 GB, free: 10.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002174/1.215, allocations: 1.315 MB / 1.306 GB, free: 9.957 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.439e-05/1.215, allocations: 2.156 kB / 1.306 GB, free: 9.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.005202/1.22, allocations: 1.852 MB / 1.308 GB, free: 9.738 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.22, allocations: 7.875 kB / 1.308 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.952e-05/1.22, allocations: 15.3 kB / 1.308 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/1.222, allocations: 386 kB / 1.308 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.223, allocations: 293.5 kB / 1.308 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009712/1.224, allocations: 0.866 MB / 1.309 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/1.227, allocations: 127 kB / 1.309 GB, free: 9.137 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/1.227, allocations: 72.77 kB / 1.31 GB, free: 9.137 MB / 1.014 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.0005963/1.228, allocations: 269.5 kB / 1.31 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.229, allocations: 252.3 kB / 1.31 GB, free: 8.816 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005965/1.235, allocations: 2.372 MB / 1.312 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.848e-05/1.235, allocations: 23.62 kB / 1.312 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.235, allocations: 0 / 1.312 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003579/1.239, allocations: 1.804 MB / 1.314 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/1.25, allocations: 5.152 MB / 1.319 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.968e-05/1.25, allocations: 10.98 kB / 1.319 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008383/1.251, allocations: 228.5 kB / 1.319 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/1.252, allocations: 297 kB / 1.32 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/1.252, allocations: 50.08 kB / 1.32 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009289/1.253, allocations: 0.8715 MB / 1.321 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.253, allocations: 9.812 kB / 1.321 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005842/1.259, allocations: 3.009 MB / 1.323 GB, free: 6.023 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/1.261, allocations: 0.5819 MB / 1.324 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.262, allocations: 35.16 kB / 1.324 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/1.264, allocations: 64.06 kB / 1.324 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/1.264, allocations: 133.6 kB / 1.324 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/1.264, allocations: 76.72 kB / 1.324 GB, free: 5.742 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003453/1.268, allocations: 1.578 MB / 1.326 GB, free: 5.598 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.268, allocations: 2.438 kB / 1.326 GB, free: 5.598 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006552/1.274, allocations: 1.465 MB / 1.327 GB, free: 5.398 MB / 1.014 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.002465/1.277, allocations: 0.9782 MB / 1.328 GB, free: 5.121 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004176/1.281, allocations: 2.42 MB / 1.331 GB, free: 4.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.281, allocations: 4 kB / 1.331 GB, free: 4.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/1.283, allocations: 1.042 MB / 1.332 GB, free: 4.688 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006546/1.289, allocations: 1.475 MB / 1.333 GB, free: 4.453 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/1.296, allocations: 4.864 MB / 1.338 GB, free: 2.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/1.297, allocations: 1.679 MB / 1.339 GB, free: 1.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002347/1.299, allocations: 0.6699 MB / 1.34 GB, free: 1.336 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/1.3, allocations: 238.7 kB / 1.34 GB, free: 1.324 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.3, allocations: 0 / 1.34 GB, free: 1.324 MB / 1.014 GB Notification: Performance of Templates: time 0.09683/1.397, allocations: 61.95 MB / 1.401 GB, free: 5.254 MB / 1.061 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)